This documentation is archived and is not being maintained.

CmsSigner Constructor (CspParameters)

Note: This constructor is new in the .NET Framework version 2.0.

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

public CmsSigner (
	CspParameters parameters
public CmsSigner (
	CspParameters parameters
public function CmsSigner (
	parameters : 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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0