PdfExternalSignaturePreparation
OfficeIMO.Pdf
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.
Returned or exposed by 3
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[]
- readOptions OfficeIMO.Pdf.PdfLoadOptions? = null
Returns
PdfDocumentpublic byte[] ComputeSha256Digest() #Computes the SHA-256 digest of PdfExternalSignaturePreparation.SignedContent for external signing services.
Returns
byte[]Inherited Methods
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.