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
ContactInfo
Contact information from the /ContactInfo entry, if present.
public string? ContactInfo { get; init; }
Property Value
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
IsDocumentTimestamp
Whether this is a document timestamp (SubFilter = ETSI.RFC3161) rather than a regular signature.
public bool IsDocumentTimestamp { get; }
Property Value
IsSigned
Indicates whether the field contains a signature.
public bool IsSigned { get; }
Property Value
Location
Signing location from the /Location entry, if present.
public string? Location { get; init; }
Property Value
PdfSigningTime
Signing time from the /M entry in the signature dictionary, if present.
public DateTimeOffset? PdfSigningTime { get; init; }
Property Value
Reason
Signing reason from the /Reason entry, if present.
public string? Reason { get; init; }
Property Value
SigDictObjectNumber
PDF object number of the signature dictionary.
public int SigDictObjectNumber { get; init; }
Property Value
SignerName
Signer name from the /Name entry, if present.
public string? SignerName { get; init; }
Property Value
SubFilter
SubFilter value (e.g., "adbe.pkcs7.detached" or "ETSI.CAdES.detached").
public string? SubFilter { get; init; }