Skip to main content

PdfDocumentSigner.GetSignatureInfo() Method

Returns a list of objects that contain information about the signatures (certification level, signer name, etc.).

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public IList<PdfSignatureInfo> GetSignatureInfo()

Returns

Type Description
IList<PdfSignatureInfo>

A list of PdfSignatureInfo objects that contain information about each signature.

Remarks

Call the GetSignatureInfo method to retrieve information about the signatures. The PdfSignatureInfo class properties allows you to check the signature’s certification level, signer name, location and contact information, etc.

The code sample below retrieves the certification level of each signature:

using (var signer = new PdfDocumentSigner(@"D://Docs//SignedDocument.pdf"))
{
    var signatures = signer.GetSignatureInfo();
    for (int i = 0; i < signatures.Count; i++)
        Console.WriteLine(String.Format("{0} signature certification level: {1}",
            i, signatures[i].CertificationLevel));
}
See Also