API Reference

Class

PdfExternalSignaturePreparation

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Prepared PDF bytes and byte ranges for an external signing operation.

Inheritance

  • Object
  • PdfExternalSignaturePreparation

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public PdfDocument Complete(Byte[] signatureContents, PdfReadOptions readOptions = null) #
Returns: PdfDocument

Completes this in-memory preparation with detached CMS or timestamp bytes. The original read policy is preserved, while the input budget is expanded only for bytes appended by preparation.

Parameters

signatureContents System.Byte[] requiredposition: 0
readOptions OfficeIMO.Pdf.PdfReadOptions = null optionalposition: 1
public Byte[] ComputeSha256Digest() #
Returns: Byte[]

Computes the SHA-256 digest of SignedContent for external signing services.

Properties

public Byte[] PreparedPdf { get; } #

PDF bytes containing a patched /ByteRange and zero-filled reserved /Contents placeholder.

public String FieldName { get; } #

Name of the AcroForm signature field appended to the document.

public String Filter { get; } #

PDF signature filter emitted in the signature dictionary.

public String SubFilter { get; } #

PDF signature subfilter emitted in the signature dictionary.

public PdfSignatureProfile Profile { get; } #

Approval, certification, or document-timestamp profile prepared for signing.

public IReadOnlyList<Int64> ByteRangeValues { get; } #

Four-value detached signature /ByteRange array.

public Int32 ContentsHexOffset { get; } #

Offset of the first hex character inside the reserved /Contents value.

public Int32 ContentsHexLength { get; } #

Number of hex characters reserved inside /Contents.

public Int32 ReservedSignatureContentsBytes { get; } #

Number of raw signature bytes that can be injected into /Contents.

public Byte[] SignedContent { get; } #

Bytes covered by the /ByteRange and intended for external digest/signing.