Skip to content

PdfSignatureInfo class

View as Markdown

Namespace: PdfNetStack.Signing
Assembly: PdfNetStack.dll
Package: PdfNetStack

What Verify found about one signature or document timestamp.

public sealed class PdfSignatureInfo

Inheritance

object ← PdfSignatureInfo

The signing certificate, for the caller’s trust decision; the authority’s for a document timestamp.

public X509Certificate2? Certificate { get; }

X509Certificate2?

True when the signature covers the whole file: nothing was appended after it.

public bool CoversWholeDocument { get; }

bool

True when the signed bytes still hash to the value the signature covers.

public bool DigestMatches { get; }

bool

The signature field’s fully qualified name.

public string FieldName { get; }

string

True for a document timestamp (/DocTimeStamp): an RFC 3161 token over the document, with no signer.

public bool IsDocumentTimestamp { get; }

bool

The signed content is intact and the signature is cryptographically valid. Trust in the certificate is a separate decision.

public bool IsIntact { get; }

bool

The location given.

public string? Location { get; }

string?

Why verification failed, or null.

public string? Problem { get; }

string?

The reason given.

public string? Reason { get; }

string?

True when the signature verifies with the certificate’s public key.

public bool SignatureValid { get; }

bool

The signer’s common name, from the certificate; the authority’s for a document timestamp.

public string? SignerName { get; }

string?

The time the signer’s software recorded (/M), not a trusted timestamp.

public DateTimeOffset? SigningTime { get; }

DateTimeOffset?

The signature format, such as ETSI.CAdES.detached, adbe.pkcs7.detached, or ETSI.RFC3161 for a document timestamp.

public string? SubFilter { get; }

string?

The signature timestamp (PAdES B-T), or the token of a document timestamp; null when there is none.

public PdfTimestampInfo? Timestamp { get; }

PdfTimestampInfo?

The signer’s certificate checks: chain, validity, usage, name constraints, revocation, certificate policies and the qualified status the certificate claims. Null unless Verify was given options. For a document timestamp, the authority’s checks.

public PdfCertificateValidation? Validation { get; }

PdfCertificateValidation?