EncryptedXml.DecryptEncryptedKey(EncryptedKey) メソッド

定義

EncryptedKey要素によって表されるキーを決定します。

public:
 virtual cli::array <System::Byte> ^ DecryptEncryptedKey(System::Security::Cryptography::Xml::EncryptedKey ^ encryptedKey);
public virtual byte[] DecryptEncryptedKey(System.Security.Cryptography.Xml.EncryptedKey encryptedKey);
abstract member DecryptEncryptedKey : System.Security.Cryptography.Xml.EncryptedKey -> byte[]
override this.DecryptEncryptedKey : System.Security.Cryptography.Xml.EncryptedKey -> byte[]
Public Overridable Function DecryptEncryptedKey (encryptedKey As EncryptedKey) As Byte()

パラメーター

encryptedKey
EncryptedKey

取得するキーを含む EncryptedKey オブジェクト。

返品

Byte[]

キーを含むバイト配列。

例外

encryptedKey パラメーターの値はnull

encryptedKey パラメーターの値は、Triple DES Key Wrap アルゴリズムまたは Advanced Encryption Standard (AES) キー ラップ アルゴリズム (Rijndael とも呼ばれます) ではありません。

注釈

DecryptEncryptedKey メソッドは、XML ドキュメントの<EncryptedKey>要素に含まれる暗号化されたキーを復号化します。

この再帰メソッドは、 EncryptedKey オブジェクトによって表されるキーを検索します。 EncryptedKey オブジェクトには、そのKeyInfo値を指定する別のEncryptedKey オブジェクトを含めることができます。

適用対象