次の方法で共有


IRelDecryptor.Decrypt(EncryptionMethod, KeyInfo, Stream) メソッド

定義

Stream オブジェクト内に含まれている XrML <encryptedGrant> 要素を復号化します。

public:
 System::IO::Stream ^ Decrypt(System::Security::Cryptography::Xml::EncryptionMethod ^ encryptionMethod, System::Security::Cryptography::Xml::KeyInfo ^ keyInfo, System::IO::Stream ^ toDecrypt);
public System.IO.Stream Decrypt (System.Security.Cryptography.Xml.EncryptionMethod encryptionMethod, System.Security.Cryptography.Xml.KeyInfo keyInfo, System.IO.Stream toDecrypt);
abstract member Decrypt : System.Security.Cryptography.Xml.EncryptionMethod * System.Security.Cryptography.Xml.KeyInfo * System.IO.Stream -> System.IO.Stream
Public Function Decrypt (encryptionMethod As EncryptionMethod, keyInfo As KeyInfo, toDecrypt As Stream) As Stream

パラメーター

encryptionMethod
EncryptionMethod

XML 暗号化に使用されるアルゴリズムをカプセル化する EncryptionMethod オブジェクト。

keyInfo
KeyInfo

復号化に使用する非対称キーを含む KeyInfo オブジェクト。

toDecrypt
Stream

復号化する <encryptedGrant> 要素を含むストリーム オブジェクト。

戻り値

Stream

復号化された <encryptedGrant> 要素を含む Stream オブジェクト。

注釈

このメソッドは Decrypt XrML <encryptedGrant> 要素を復号化し、プレーンテキスト ストリームを返します。

適用対象