Pkcs7Signer(X509Certificate2) Constructor
In This Article
Initializes a new instance of the Pkcs7Signer class with specified settings.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
#Declaration
public Pkcs7Signer(
X509Certificate2 certificate
)
#Parameters
Name | Type | Description |
---|---|---|
certificate | X509Certificate2 | An X. |
#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