Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Pkcs7Signer(X509Certificate2) Constructor

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

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v21.1.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public Pkcs7Signer(
    X509Certificate2 certificate
)

Parameters

Name Type Description
certificate X509Certificate2

An X.509 signature certificate.

Remarks

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