RsaEncryptionCookieTransform.Decode(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Decrypts the specified data by using the provided RSA key(s) to decrypt an AES key, which decrypts the cookie.
public:
override cli::array <System::Byte> ^ Decode(cli::array <System::Byte> ^ encoded);
public override byte[] Decode(byte[] encoded);
override this.Decode : byte[] -> byte[]
Public Overrides Function Decode (encoded As Byte()) As Byte()
Parameters
- encoded
- Byte[]
The encoded data.
Returns
The decoded data.
Exceptions
encoded
is null
.
encoded
contains zero bytes.
The platform does not support the requested algorithm.
There are no decryption keys or none of the keys match.