CmsSigner Constructor

 

Creates an instance of the CmsSigner class.

Namespace:   System.Security.Cryptography.Pkcs
Assembly:  System.Security (in System.Security.dll)

NameDescription
System_CAPS_pubmethodCmsSigner()

The CmsSigner() constructor creates an instance of the CmsSigner class by using a default subject identifier type.

System_CAPS_pubmethodCmsSigner(CspParameters)

The CmsSigner(CspParameters) constructor creates an instance of the CmsSigner class with the specified cryptographic service provider (CSP) parameters. CmsSigner(CspParameters) is useful when you know the specific CSP and private key to use for signing.

System_CAPS_pubmethodCmsSigner(SubjectIdentifierType)

The CmsSigner(SubjectIdentifierType) constructor creates an instance of the CmsSigner class with the specified subject identifier type.

System_CAPS_pubmethodCmsSigner(SubjectIdentifierType, X509Certificate2)

The CmsSigner constructor creates an instance of the CmsSigner class with the specified signer identifier type and signing certificate.

System_CAPS_pubmethodCmsSigner(X509Certificate2)

The CmsSigner constructor creates an instance of the CmsSigner class with the specified signing certificate.

Return to top
Show: