PdfSignatureOptions class
Namespace: PdfNetStack.Signing
Assembly: PdfNetStack.dll
Package: PdfNetStack
How to sign.
public sealed record PdfSignatureOptions : IEquatable<PdfSignatureOptions>Inheritance
Implements
IEquatable<PdfSignatureOptions>
Properties
Section titled “Properties”Appearance
Section titled “ Appearance”A visible signature, or null for an invisible one.
public PdfSignatureAppearance? Appearance { get; init; }Property Value
Section titled “Property Value”Intermediate certificates to embed, so validators can build the chain to a trusted root.
public IReadOnlyList<X509Certificate2> Chain { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<X509Certificate2>
ContactInfo
Section titled “ ContactInfo”How to reach the signer.
public string? ContactInfo { get; init; }Property Value
Section titled “Property Value”Digest
Section titled “ Digest”The hash. Default SHA-256.
public PdfDigestAlgorithm Digest { get; init; }Property Value
Section titled “Property Value”FieldName
Section titled “ FieldName”The signature field’s name; null picks Signature1, Signature2 and so on.
public string? FieldName { get; init; }Property Value
Section titled “Property Value”Location
Section titled “ Location”Where it is signed.
public string? Location { get; init; }Property Value
Section titled “Property Value”Reason
Section titled “ Reason”Why the document is signed.
public string? Reason { get; init; }Property Value
Section titled “Property Value”SigningTime
Section titled “ SigningTime”The signing time recorded in the signature dictionary; null for now.
public DateTimeOffset? SigningTime { get; init; }Property Value
Section titled “Property Value”Timestamp
Section titled “ Timestamp”A time stamp authority to timestamp the signature value (PAdES B-T); null for none (B-B). The token goes in the CMS signature as an unsigned attribute.
public PdfTimestampClient? Timestamp { get; init; }