DSASignatureFormatter.SetKey Method (AsymmetricAlgorithm)

 

Specifies the key to be used for the Digital Signature Algorithm (DSA) signature formatter.

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

public override void SetKey(
	AsymmetricAlgorithm key
)

Parameters

key
Type: System.Security.Cryptography.AsymmetricAlgorithm

The instance of DSA that holds the key.

Exception Condition
ArgumentNullException

key is null.

.NET Framework
Available since 1.1
Return to top
Show: