IRelDecryptor.Decrypt(EncryptionMethod, KeyInfo, Stream) Methode

Definition

Entschlüsselt ein XrML-Element <encryptedGrant> , das in einem Stream Objekt enthalten ist.

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

Parameter

encryptionMethod
EncryptionMethod

Ein EncryptionMethod Objekt, das den Algorithmus kapselt, der für die XML-Verschlüsselung verwendet wird.

keyInfo
KeyInfo

Ein KeyInfo Objekt, das einen asymmetrischen Schlüssel enthält, der für die Entschlüsselung verwendet werden soll.

toDecrypt
Stream

Ein Streamobjekt, das ein <encryptedGrant> zu entschlüsselnde Element enthält.

Gibt zurück

Ein Stream Objekt, das ein entschlüsseltes <encryptedGrant> Element enthält.

Hinweise

Die Decrypt Methode entschlüsselt ein XrML-Element <encryptedGrant> und gibt einen Nur-Text-Datenstrom zurück.

Gilt für: