PdfSigner
Overview
PdfSigner is a class in Aspose.PDF FOSS for .NET.
Signs PDF documents with X.509 certificates using PKCS#7/CMS detached signatures.
This class declares 4 methods for PdfSigner objects in .NET programs.
Available methods include: Sign, SignDocumentTimestamp, SignWithAppearance, Verify.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Methods
| Signature | Description |
|---|---|
SignDocumentTimestamp(pdfData: byte[], options: SignatureOptions) | Add an RFC 3161 document timestamp (PAdES DocTimeStamp, /SubFilter ETSI.RFC3161) via an incremental update. |
Verify(pdfData: byte[], fieldName: string?, password: string?) | Verify a signature in a PDF document. |
SignWithAppearance(pdfData: byte[], certificate: PdfCertificate, options: SignatureOptions?, appearance: SignatureAppearance) | Sign a PDF document with an X.509 certificate and a visible signature appearance. |
Sign(pdfData: byte[], certificate: PdfCertificate, options: SignatureOptions?) | Sign a PDF document and return the signed bytes. |