IRelDecryptor.Decrypt(EncryptionMethod, KeyInfo, Stream) Méthode

Définition

Déchiffre un élément XrML <encryptedGrant> contenu dans un Stream objet.

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

Paramètres

encryptionMethod
EncryptionMethod

Objet EncryptionMethod qui encapsule l’algorithme utilisé pour le chiffrement XML.

keyInfo
KeyInfo

Objet KeyInfo qui contient une clé asymétrique à utiliser pour le déchiffrement.

toDecrypt
Stream

Objet de flux qui contient un <encryptedGrant> élément à déchiffrer.

Retours

Objet Stream qui contient un élément déchiffré <encryptedGrant> .

Remarques

La Decrypt méthode déchiffre un élément XrML <encryptedGrant> et retourne un flux en texte brut.

S’applique à