Sender.Seal(Byte[], 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.
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
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.