DSACryptoServiceProvider DSACryptoServiceProvider DSACryptoServiceProvider DSACryptoServiceProvider Constructors

Definition

Overloads

DSACryptoServiceProvider() DSACryptoServiceProvider() DSACryptoServiceProvider()

Initializes a new instance of the DSACryptoServiceProvider class.

DSACryptoServiceProvider(Int32) DSACryptoServiceProvider(Int32) DSACryptoServiceProvider(Int32) DSACryptoServiceProvider(Int32)

Initializes a new instance of the DSACryptoServiceProvider class with the specified key size.

DSACryptoServiceProvider(CspParameters) DSACryptoServiceProvider(CspParameters) DSACryptoServiceProvider(CspParameters) DSACryptoServiceProvider(CspParameters)

Initializes a new instance of the DSACryptoServiceProvider class with the specified parameters for the cryptographic service provider (CSP).

DSACryptoServiceProvider(Int32, CspParameters) DSACryptoServiceProvider(Int32, CspParameters) DSACryptoServiceProvider(Int32, CspParameters) DSACryptoServiceProvider(Int32, CspParameters)

Initializes a new instance of the DSACryptoServiceProvider class with the specified key size and parameters for the cryptographic service provider (CSP).

DSACryptoServiceProvider() DSACryptoServiceProvider() DSACryptoServiceProvider()

Initializes a new instance of the DSACryptoServiceProvider class.

public:
 DSACryptoServiceProvider();
public DSACryptoServiceProvider ();
Public Sub New ()

Security

SecurityPermission
for the ability to call unmanaged code. Associated enumeration: UnmanagedCode

See also

DSACryptoServiceProvider(Int32) DSACryptoServiceProvider(Int32) DSACryptoServiceProvider(Int32) DSACryptoServiceProvider(Int32)

Initializes a new instance of the DSACryptoServiceProvider class with the specified key size.

public:
 DSACryptoServiceProvider(int dwKeySize);
public DSACryptoServiceProvider (int dwKeySize);
new System.Security.Cryptography.DSACryptoServiceProvider : int -> System.Security.Cryptography.DSACryptoServiceProvider
Public Sub New (dwKeySize As Integer)

Parameters

dwKeySize
Int32 Int32 Int32 Int32

The size of the key for the asymmetric algorithm in bits.

Security

SecurityPermission
for the ability to call unmanaged code. Associated enumeration: UnmanagedCode

See also

DSACryptoServiceProvider(CspParameters) DSACryptoServiceProvider(CspParameters) DSACryptoServiceProvider(CspParameters) DSACryptoServiceProvider(CspParameters)

Initializes a new instance of the DSACryptoServiceProvider class with the specified parameters for the cryptographic service provider (CSP).

public:
 DSACryptoServiceProvider(System::Security::Cryptography::CspParameters ^ parameters);
public DSACryptoServiceProvider (System.Security.Cryptography.CspParameters parameters);
new System.Security.Cryptography.DSACryptoServiceProvider : System.Security.Cryptography.CspParameters -> System.Security.Cryptography.DSACryptoServiceProvider
Public Sub New (parameters As CspParameters)

Parameters

parameters
CspParameters CspParameters CspParameters CspParameters

The parameters for the CSP.

Security

SecurityPermission
for the ability to call unmanaged code. Associated enumeration: UnmanagedCode

See also

DSACryptoServiceProvider(Int32, CspParameters) DSACryptoServiceProvider(Int32, CspParameters) DSACryptoServiceProvider(Int32, CspParameters) DSACryptoServiceProvider(Int32, CspParameters)

Initializes a new instance of the DSACryptoServiceProvider class with the specified key size and parameters for the cryptographic service provider (CSP).

public:
 DSACryptoServiceProvider(int dwKeySize, System::Security::Cryptography::CspParameters ^ parameters);
public DSACryptoServiceProvider (int dwKeySize, System.Security.Cryptography.CspParameters parameters);
new System.Security.Cryptography.DSACryptoServiceProvider : int * System.Security.Cryptography.CspParameters -> System.Security.Cryptography.DSACryptoServiceProvider
Public Sub New (dwKeySize As Integer, parameters As CspParameters)

Parameters

dwKeySize
Int32 Int32 Int32 Int32

The size of the key for the cryptographic algorithm in bits.

parameters
CspParameters CspParameters CspParameters CspParameters

The parameters for the CSP.

Exceptions

The CSP cannot be acquired.

-or-

The key cannot be created.

Security

SecurityPermission
for the ability to call unmanaged code. Associated enumeration: UnmanagedCode

See also

Applies to