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);
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 キー ラップ アルゴリズムまたは AES (Advanced Encryption Standard) キー ラップ アルゴリズム (Rijndael とも呼ばれます) ではありません。

注釈

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

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

適用対象