Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​Security.​Cryptography.​Xml.​IRelDecryptor
Assembly: System.Security.Cryptography.Xml
Defines methods that decrypt an XrML <see langword="<encryptedGrant>" /> element.
Methods
Decrypt​(EncryptionMethod encryptionMethod,
KeyInfo keyInfo,
IO.​Stream toDecrypt)
Decrypts an XrML <see langword="<encryptedGrant>" /> element that is contained within a <see cref="T:System.IO.Stream" /> object.
Returns A <see cref="T:System.IO.Stream" /> object that contains a decrypted <see langword="<encryptedGrant>" /> element.
encryptionMethod
An <see cref="T:System.Security.Cryptography.Xml.EncryptionMethod" /> object that encapsulates the algorithm used for XML encryption.
keyInfo
A <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> object that contains an asymmetric key to use for decryption.
toDecrypt
A stream object that contains an <see langword="<encryptedGrant>" /> element to decrypt.