Language

RsaSecurityKey.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

キーの暗号化に使用された暗号化アルゴリズム。 サポートされているアルゴリズムは、 RsaV15KeyWrap と RsaOaepKeyWrap。

keyData
Byte[]

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

返品

Byte[]

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

例外

algorithm はサポートされません。 サポートされているアルゴリズムは、 RsaV15KeyWrap と RsaOaepKeyWrap。

keyData は nullです。

適用対象