Digitally sign document with the certificate.
Multiple signatures are supported - call this method multiple times with different certificates.
Namespace: PdfEdit.Pdf
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.4.3.0 (5.4.3.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 |
|---|---|
| ArgumentNullException | Thrown if any parameter is null |
See Also