Language

Sender.Seal(Byte[], Byte[]) Method

Definition

Seals a message, using the internal key schedule maintained by this Sender.

[Android.Runtime.Register("seal", "([B[B)[B", "GetSeal_arrayBarrayBHandler", ApiSince=37)]
public virtual byte[] Seal(byte[] plaintext, byte[]? aad);
[<Android.Runtime.Register("seal", "([B[B)[B", "GetSeal_arrayBarrayBHandler", ApiSince=37)>]
abstract member Seal : byte[] * byte[] -> byte[]
override this.Seal : byte[] * byte[] -> byte[]

Parameters

plaintext
Byte[]

the plaintext

aad
Byte[]

optional additional authenticated data, may be null or empty

Returns

Byte[]

the ciphertext

Attributes

Remarks

Seals a message, using the internal key schedule maintained by this Sender.

Android reference for android.crypto.hpke.Sender.seal.

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