Cms |
public CmsSigner( X509Certificate2 certificate, SubjectIdentifierType signerIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber )
Exception | Condition |
---|---|
ArgumentNullException | certificate is null. |
ArgumentException | certificate cannot be used for signing. |
The initial value of the DigestAlgorithm will be set to Sha256 and both the SignedAttributes and UnsignedAttributes properties will be initialized to empty tables.