API Reference

Class

PdfSignatureInfo

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Lightweight metadata read from a PDF signature value dictionary and its owning AcroForm signature field.

Inheritance

  • Object
  • PdfSignatureInfo

Usage

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

Properties

public Int32 ObjectNumber { get; } #

Object number of the signature value dictionary.

public Nullable<Int32> FieldObjectNumber { get; } #

Object number of the AcroForm signature field whose /V points to this signature value, when found.

public String FieldName { get; } #

Readable AcroForm signature field name, when found.

public PdfSignatureFieldLockInfo FieldLock { get; } #

Signature field /Lock constraints, when present.

public PdfSignatureSeedValueInfo SeedValue { get; } #

Signature field /SV seed value constraints, when present.

public Boolean HasFieldLock { get; } #

True when the owning signature field exposes a /Lock dictionary.

public Boolean HasSeedValue { get; } #

True when the owning signature field exposes a /SV seed value dictionary.

public String Filter { get; } #

Signature handler /Filter name, for example Adobe.PPKLite, when readable.

public String SubFilter { get; } #

Signature /SubFilter name, for example adbe.pkcs7.detached, when readable.

public Boolean HasRecognizedSubFilter { get; } #

True when the /SubFilter is one of the common CMS, CAdES, or timestamp signature subfilters.

public Boolean UsesDetachedCmsSubFilter { get; } #

True when the signature declares a detached CMS/PKCS#7 subfilter.

public Boolean UsesCadesSubFilter { get; } #

True when the signature declares an ETSI CAdES subfilter.

public Boolean IsDocumentTimestamp { get; } #

True when the signature declares an RFC 3161 document timestamp subfilter.

public String SignerName { get; } #

Signer /Name value, when present in the signature dictionary.

public String Location { get; } #

Signature /Location value, when present.

public String Reason { get; } #

Signature /Reason value, when present.

public String ContactInfo { get; } #

Signature /ContactInfo value, when present.

public String SigningTimeRaw { get; } #

Raw signature /M signing time string, when present.

public Boolean HasByteRange { get; } #

True when the signature dictionary contains a readable /ByteRange array.

public IReadOnlyList<Int64> ByteRangeValues { get; } #

Exact numeric values read from the signature dictionary /ByteRange array.

public Int32 ByteRangeValueCount { get; } #

Number of numeric values found in the signature dictionary /ByteRange array.

public Int32 ByteRangeSegmentCount { get; } #

Number of byte ranges represented by the numeric /ByteRange values.

public Boolean HasContents { get; } #

True when the signature dictionary contains a /Contents value.

public Byte[] ContentsBytes { get; } #

Decoded `/Contents` bytes, including reserved padding, when readable.

public Nullable<Int32> ContentsSizeBytes { get; } #

Decoded /Contents byte count when the value could be read as a PDF string.

public Nullable<Int32> ContentsEncodedSizeBytes { get; } #

Encoded /Contents placeholder byte count, including delimiters, when readable from source syntax.

public Boolean HasNonEmptyContents { get; } #

True when /Contents contains at least one decoded byte.

public Boolean HasUnsignedContentsPlaceholder { get; } #

True when /Contents is a non-empty all-zero reservation ready for external signature bytes.

public Int32 ReferenceCount { get; } #

Number of entries in the signature dictionary /Reference array, when readable.