Click or drag to resize

CmsInformation Constructor (X509Certificate2Collection, PdfContentDigestMethod, UnsupportedContentDigestAlgorithmAction)

Initializes a new instance of the CmsInformation class.

Namespace:  Atalasoft.PdfDoc.DigitalSignatures
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public CmsInformation(
	X509Certificate2Collection certificates,
	PdfContentDigestMethod method,
	UnsupportedContentDigestAlgorithmAction action
)

Parameters

certificates
Type: System.Security.Cryptography.X509CertificatesX509Certificate2Collection
A non-null, non-empty collection of certificates.
method
Type: Atalasoft.PdfDoc.DigitalSignaturesPdfContentDigestMethod
The method that will be used to create a message digest of the PDF file for the signature.
action
Type: Atalasoft.PdfDoc.DigitalSignaturesUnsupportedContentDigestAlgorithmAction
The that will be taken when attempting to sign a document with an unsupported algorithm.
Exceptions
ExceptionCondition
ArgumentNullExceptioncertificates
ArgumentOutOfRangeExceptioncertificates
See Also