Mono Class Library: System.Security.Cryptography.DSASignatureFormatter Overview | Members

System.Security.Cryptography.DSASignatureFormatter.SetKey Method

Set the key pair to be used to compute signatures. [Edit]

public override void SetKey (AsymmetricAlgorithm key)

Parameters

key
An instance of a System.Security.Cryptography.DSA object. Instance derived from other System.Security.Cryptography.AsymmetricAlgorithm classes are ignored. [Edit]

Remarks

DSASignatureFormatter.CreateSignature will only be successful if the key object has it's private key available. [Edit]

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0