Back to Devexpress

PdfSignatureInfo Class

officefileapi-devexpress-dot-pdf-02a85af8.md

latest1.7 KB
Original Source

PdfSignatureInfo Class

Contains signature information.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public class PdfSignatureInfo
vb
Public Class PdfSignatureInfo

Remarks

Call the GetSignatureInfo method to retrieve the list of PdfSignatureInfo objects that contain information about the signatures.

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

csharp
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));
}
vb
Using signer = New PdfDocumentSigner("D://Docs//SignedDocument.pdf")
  Dim signatures = signer.GetSignatureInfo()
  For i As Integer = 0 To signatures.Count - 1
    Console.WriteLine(String.Format("{0} signature certification level: {1}",
     i, signatures(i).CertificationLevel))
  Next i
End Using

Inheritance

Object PdfSignatureInfo

See Also

PdfSignatureInfo Members

DevExpress.Pdf Namespace