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