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);
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 キー ラップ アルゴリズムまたは AES (Advanced Encryption Standard) キー ラップ アルゴリズム (Rijndael とも呼ばれます) ではありません。
注釈
メソッドは DecryptEncryptedKey 、XML ドキュメントの 要素に <EncryptedKey>
含まれる暗号化されたキーを復号化します。
この再帰的メソッドは、 オブジェクトによって表されるキーを EncryptedKey 検索します。 オブジェクトには、そのKeyInfo値をEncryptedKey指定する別EncryptedKeyのオブジェクトを含めることができます。