IHpkeSpi.EngineSeal(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 an HPKE sender SPI.
[Android.Runtime.Register("engineSeal", "([B[B)[B", "GetEngineSeal_arrayBarrayBHandler:Android.Crypto.Hpke.IHpkeSpiInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public byte[] EngineSeal (byte[] plaintext, byte[]? aad);
[<Android.Runtime.Register("engineSeal", "([B[B)[B", "GetEngineSeal_arrayBarrayBHandler:Android.Crypto.Hpke.IHpkeSpiInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member EngineSeal : byte[] * byte[] -> byte[]
Parameters
- plaintext
- Byte[]
the plaintext
- aad
- Byte[]
optional associated data, may be null or empty
Returns
the ciphertext
- Attributes
Remarks
Seals a message, using the internal key schedule maintained by an HPKE sender SPI.
Java documentation for android.crypto.hpke.HpkeSpi.engineSeal(byte[], byte[])
.
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.