Language

InMemorySymmetricSecurityKey.DecryptKey(String, Byte[]) メソッド

定義

指定した暗号化されたキーを復号化します。

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()

パラメーター

algorithm
String

キーの暗号化に使用された暗号化アルゴリズム。

keyData
Byte[]

暗号化されたキーを含む Byte の配列。

返品

Byte[]

復号化されたキーを含む Byte の配列。

例外

algorithm はサポートされません。 サポートされているアルゴリズムは、 TripleDesKeyWrap、 Aes128KeyWrap、 Aes192KeyWrap、および Aes256KeyWrapです。

注釈

アルゴリズムを指定するには、 SecurityAlgorithms クラスの静的フィールドを使用します。

適用対象