CmsSigner Constructor (SubjectIdentifierType, X509Certificate2)

 

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

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

public CmsSigner(
	SubjectIdentifierType signerIdentifierType,
	X509Certificate2 certificate
)

Parameters

signerIdentifierType
Type: System.Security.Cryptography.Pkcs.SubjectIdentifierType

A member of the SubjectIdentifierType enumeration that specifies the signer identifier type.

certificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2

An X509Certificate2 object that represents the signing certificate.

The signing certificate specified by the certificate parameter is not checked for validity on input. To validate the certificate prior to supplying it to this constructor, use the X509Chain.Build method.

.NET Framework
Available since 2.0
Return to top
Show: