Partage via


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

Définition

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

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 élément <encryptedGrant> à déchiffrer.

Retours

Stream

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

Remarques

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

S’applique à