Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfExternalSignaturePreparation

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • PdfExternalSignaturePreparation

Usage

Explore 3 API references to this type

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, PdfLoadOptions? readOptions = null) #

Completes this in-memory preparation with detached CMS or timestamp bytes. The original read policy is preserved with budget for the generated signature revision.

Parameters

signatureContents byte[] required
readOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional
public byte[] ComputeSha256Digest() #

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

Returns

byte[]

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<long> ByteRangeValues { get; } #

Four-value detached signature /ByteRange array.

public int ContentsHexOffset { get; } #

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

public int ContentsHexLength { get; } #

Number of hex characters reserved inside /Contents.

public int 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.