Skip to content

PdfTimestampInfo class

View as Markdown

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

An RFC 3161 timestamp found in a signature or forming a document timestamp.

public sealed class PdfTimestampInfo

Inheritance

object ← PdfTimestampInfo

The authority’s common name.

public string? AuthorityName { get; }

string?

The authority’s certificate, or null when the token does not carry it.

public X509Certificate2? Certificate { get; }

X509Certificate2?

The timestamp’s hash matches what it covers: the signature value, or the document’s byte range.

public bool ImprintMatches { get; }

bool

The timestamp covers what it claims and its signature is valid.

public bool IsIntact { get; }

bool

The authority’s policy, as an object identifier.

public string? PolicyOid { get; }

string?

Why the timestamp failed, or null.

public string? Problem { get; }

string?

Whether the authority is a qualified time stamp service by TrustedLists. Passed only when the authority’s certificate checks (Validation) passed, the timestamp is intact, and a TSA/QTST service was granted at the validation time whose identity is the public key of the authority’s certificate, or of a CA of its chain that the list names as that TSA/QTST service (a CA listed only as a CA service does not count). Failed when no such service was granted; Indeterminate when the authority’s checks did not pass, the timestamp is not intact, no list can be used, or the service has critical extensions the library does not interpret; NotChecked without trusted lists or without the authority’s certificate.

public PdfCheckStatus QualifiedTimestamp { get; }

PdfCheckStatus

How QualifiedTimestamp was decided, in plain words.

public IReadOnlyList<string> QualifiedTimestampReasons { get; }

IReadOnlyList<string>

The TSA/QTST service that confirmed QualifiedTimestamp, or null.

public PdfTrustService? QualifiedTimestampService { get; }

PdfTrustService?

The token’s serial number, in hexadecimal.

public string? SerialNumber { get; }

string?

The token’s signature verifies with the authority’s certificate.

public bool SignatureValid { get; }

bool

The time the authority certified.

public DateTimeOffset Time { get; }

DateTimeOffset

The authority’s certificate checks, when validation options were given.

public PdfCertificateValidation? Validation { get; }

PdfCertificateValidation?