Language

Recipient.Open(Byte[], Byte[]) Method

Definition

Opens a message, using the internal key schedule maintained by this Recipient.

[Android.Runtime.Register("open", "([B[B)[B", "GetOpen_arrayBarrayBHandler", ApiSince=37)]
public virtual byte[] Open(byte[] ciphertext, byte[]? aad);
[<Android.Runtime.Register("open", "([B[B)[B", "GetOpen_arrayBarrayBHandler", ApiSince=37)>]
abstract member Open : byte[] * byte[] -> byte[]
override this.Open : byte[] * byte[] -> byte[]

Parameters

ciphertext
Byte[]

the ciphertext

aad
Byte[]

optional additional authenticated data, may be null or empty

Returns

Byte[]

the plaintext

Attributes

Remarks

Opens a message, using the internal key schedule maintained by this Recipient.

Android reference for android.crypto.hpke.Recipient.open.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to