RsaEncryptionCookieTransform.Decode(Byte[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
利用提供的 RSA 金鑰解密指定資料,解密 AES 金鑰,AES 金鑰再解密 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()
參數
- encoded
- Byte[]
編碼的資料。
傳回
Byte[]
解碼後的資料。
例外狀況
encoded 是 null。
encoded 包含零位元組。
平台不支援所請求的演算法。
沒有解密金鑰,或者所有金鑰都不匹配。