SecurityKeyElement.DecryptKey(String, Byte[]) Method

Definition

Decrypts the specified key by using the specified algorithm.

public:
 override cli::array <System::Byte> ^ DecryptKey(System::String ^ algorithm, cli::array <System::Byte> ^ keyData);
public override byte[] DecryptKey (string algorithm, byte[] keyData);
override this.DecryptKey : string * byte[] -> byte[]
Public Overrides Function DecryptKey (algorithm As String, keyData As Byte()) As Byte()

Parameters

algorithm
String

The algorithm to use to decrypt the key.

keyData
Byte[]

An array that contains the encrypted key.

Returns

Byte[]

An array that contains the decrypted key.

Applies to