IRelDecryptor.Decrypt(EncryptionMethod, KeyInfo, Stream) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.
- 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.