Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfSignatureInfo

OfficeIMO.Pdf

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

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

Inheritance

  • object
  • PdfSignatureInfo

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.

Properties

public int ObjectNumber { get; } #

Object number of the signature value dictionary.

public int? 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; } #

Effective field-lock constraints from the signed FieldMDP transform, or the owning signature field /Lock dictionary when no signed transform is present.

public PdfSignatureSeedValueInfo? SeedValue { get; } #

Signature field /SV seed value constraints, when present.

public bool HasFieldLock { get; } #

True when the signature exposes effective FieldMDP or field /Lock constraints.

public bool 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 bool HasRecognizedSubFilter { get; } #

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

public bool UsesDetachedCmsSubFilter { get; } #

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

public bool UsesCadesSubFilter { get; } #

True when the signature declares an ETSI CAdES subfilter.

public bool 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 bool HasByteRange { get; } #

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

public IReadOnlyList<long> ByteRangeValues { get; } #

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

public int ByteRangeValueCount { get; } #

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

public int ByteRangeSegmentCount { get; } #

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

public bool HasContents { get; } #

True when the signature dictionary contains a /Contents value.

public byte[]? ContentsBytes { get; } #

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

public int? ContentsSizeBytes { get; } #

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

public int? ContentsEncodedSizeBytes { get; } #

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

public bool HasNonEmptyContents { get; } #

True when /Contents contains at least one decoded byte.

public bool HasUnsignedContentsPlaceholder { get; } #

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

public int ReferenceCount { get; } #

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