EncryptedXml.DecryptEncryptedKey(EncryptedKey) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 オブジェクト。
返品
キーを含むバイト配列。
例外
encryptedKey パラメーターの値はnull。
encryptedKey パラメーターの値は、Triple DES Key Wrap アルゴリズムまたは Advanced Encryption Standard (AES) キー ラップ アルゴリズム (Rijndael とも呼ばれます) ではありません。
注釈
DecryptEncryptedKey メソッドは、XML ドキュメントの<EncryptedKey>要素に含まれる暗号化されたキーを復号化します。
この再帰メソッドは、 EncryptedKey オブジェクトによって表されるキーを検索します。 EncryptedKey オブジェクトには、そのKeyInfo値を指定する別のEncryptedKey オブジェクトを含めることができます。