Skip to main content

Pkcs7Signer(X509Certificate2) Constructor

Initializes a new instance of the Pkcs7Signer class with specified settings.

Namespace: DevExpress.Pdf

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

NuGet Package: DevExpress.Pdf.Core


public Pkcs7Signer(
    X509Certificate2 certificate


Name Type Description
certificate X509Certificate2

An X.509 signature certificate.


The PDF Document API uses the SHA-256 hashing algorithm. If the OS cryptographic implemetation doesn’t support SHA-256 hashing algorithm, the CryptographicException is thrown. Use the Pkcs7Signer.Pkcs7Signer(X509Certificate2, HashAlgorithmType) constructor to change hashing algorithm.

See Also