Digitally sign document with the certificate
Namespace: PdfEdit.Pdf
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax
public void SignWithCertificate( X509Certificate2 certificate, PdfSignatureOptions options )
Parameters
- certificate
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Sign certificate - options
- Type: PdfEdit.Pdf.SignaturesPdfSignatureOptions
Signing options
Exceptions
Exception | Condition |
---|---|
Exception | Thrown if any parameter is null or if the document is already signed |
See Also