Muokkaa

Jaa


RsaEncryptionCookieTransform.Decode(Byte[]) Method

Definition

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

Byte[]

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.

Applies to