CmsSigner Constructor (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.

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

public CmsSigner(
	CspParameters parameters
)

Parameters

parameters
Type: System.Security.Cryptography.CspParameters

A CspParameters object that represents the set of CSP parameters to use.

For the default property values used with this constructor, see CmsSigner(). An exception to those values when this constructor is used is that IncludeOption is set to X509IncludeOption.None.

.NET Framework
Available since 2.0
Return to top
Show: