IRelDecryptor.Decrypt(EncryptionMethod, KeyInfo, Stream) Metoda

Definicja

Odszyfrowuje element XrML <encryptedGrant> , który znajduje się w Stream obiekcie.

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

Parametry

encryptionMethod
EncryptionMethod

EncryptionMethod Obiekt, który hermetyzuje algorytm używany do szyfrowania XML.

keyInfo
KeyInfo

KeyInfo Obiekt zawierający klucz asymetryczny do użycia do odszyfrowywania.

toDecrypt
Stream

Obiekt strumienia <encryptedGrant> zawierający element do odszyfrowywania.

Zwraca

Stream

Stream Obiekt zawierający odszyfrowany <encryptedGrant> element.

Uwagi

Metoda Decrypt odszyfrowuje element XrML <encryptedGrant> i zwraca strumień zwykłego tekstu.

Dotyczy