Class VerifiedSignature
A class that represents a verified digital signature for a PDF document.
Inheritance
Namespace: IronPdf.Signing.Inspection
Assembly: IronPdf.dll
Syntax
public class VerifiedSignature : Object
Properties
CertificateChain
Gets the certificate chain from signer to root, if available. The first element is the signing certificate, the last is the root or highest intermediate. Empty if the chain could not be resolved.
Declaration
public IReadOnlyList<SignerCertificateInfo> CertificateChain { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IReadOnlyList<SignerCertificateInfo> |
Filter
Signature filter
Declaration
public string Filter { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SignatureName
Gets the field name of the digital signature. This is the form field name from the /T key of the signature field dictionary.
Declaration
public string SignatureName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SignerCertificate
Gets the X.509 certificate details of the signer, including the full Subject DN,
Issuer, Serial Number, validity period, convenience identity fields, and raw DER-encoded bytes.
Returns null if the signing certificate could not be extracted from the signature.
Use SubjectSerialNumber to access the personal/national ID from the SERIALNUMBER OID in the certificate's Subject DN:
var sig = document.GetVerifiedSignatures().First();
string nationalId = sig.SignerCertificate?.SubjectSerialNumber;
Declaration
public SignerCertificateInfo SignerCertificate { get; }
Property Value
| Type | Description |
|---|---|
| SignerCertificateInfo |
SignerName
The common name of the certificate owner who signed the signature. This value is resolved from the /V/Name field of the signature dictionary, falling back to the certificate's Subject Distinguished Name (SubjectDN) CN field. Returns null if neither source provides a value.
Declaration
public string SignerName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SigningContact
The contact person or email address for signing related inquiries (optional). Resolved from /V/ContactInfo, certificate email, or certificate CN as a fallback.
Declaration
public string SigningContact { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SigningDate
The date and time of the digital signature.
Declaration
public DateTime SigningDate { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
SigningLocation
The physical location the PDF was signed (optional).
Declaration
public string SigningLocation { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SigningReason
The reason the PDF was signed (optional).
Declaration
public string SigningReason { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Status
Gets the validation status of the signature, indicating the overall result of all verification checks performed (e.g. cryptographic integrity, certificate trust, revocation status). Possible values are Valid, ValidWithWarnings, Indeterminate, and Invalid.
Declaration
public SignatureStatus Status { get; }
Property Value
| Type | Description |
|---|---|
| SignatureStatus |
Valid
true if the signature is valid
Declaration
public bool Valid { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Warnings
Gets the list of warning and error messages generated during signature verification.
Declaration
public List<string> Warnings { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
Methods
ToString()
Returns a string that represents the current digital signature for a PDF document.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A string that represents the current digital signature for a PDF document. |