Table of Contents

Class PdfSignatureField

Namespace
SimpleSign.Pdf
Assembly
SimpleSign.Pdf.dll

Represents a PDF signature field and its raw CMS contents.

public sealed class PdfSignatureField
Inheritance
PdfSignatureField
Inherited Members

Properties

ByteRange

Byte range covering the signed content.

public PdfByteRange ByteRange { get; init; }

Property Value

PdfByteRange

ContactInfo

Contact information from the /ContactInfo entry, if present.

public string? ContactInfo { get; init; }

Property Value

string

ContentsBytes

Raw DER-encoded CMS/PKCS#7 bytes from /Contents.

public byte[] ContentsBytes { get; init; }

Property Value

byte[]

FieldName

PDF field name (e.g., "Signature1").

public string FieldName { get; init; }

Property Value

string

IsDocumentTimestamp

Whether this is a document timestamp (SubFilter = ETSI.RFC3161) rather than a regular signature.

public bool IsDocumentTimestamp { get; }

Property Value

bool

IsSigned

Indicates whether the field contains a signature.

public bool IsSigned { get; }

Property Value

bool

Location

Signing location from the /Location entry, if present.

public string? Location { get; init; }

Property Value

string

PdfSigningTime

Signing time from the /M entry in the signature dictionary, if present.

public DateTimeOffset? PdfSigningTime { get; init; }

Property Value

DateTimeOffset?

Reason

Signing reason from the /Reason entry, if present.

public string? Reason { get; init; }

Property Value

string

SigDictObjectNumber

PDF object number of the signature dictionary.

public int SigDictObjectNumber { get; init; }

Property Value

int

SignerName

Signer name from the /Name entry, if present.

public string? SignerName { get; init; }

Property Value

string

SubFilter

SubFilter value (e.g., "adbe.pkcs7.detached" or "ETSI.CAdES.detached").

public string? SubFilter { get; init; }

Property Value

string