RsaEncryptionCookieTransform.Encode(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.
Encodes the specified data. The data is encrypted using the default encryption algorithm (AES-256), then the AES key is encrypted using RSA and the RSA public key is appended.
public:
override cli::array <System::Byte> ^ Encode(cli::array <System::Byte> ^ value);
public override byte[] Encode(byte[] value);
override this.Encode : byte[] -> byte[]
Public Overrides Function Encode (value As Byte()) As Byte()
Parameters
- value
- Byte[]
The data to encode.
Returns
Byte[]
The encoded data.
Exceptions
value
is null
.
value
contains zero bytes.
The EncryptionKey is null
.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา