Freigeben über


IHpkeSpi.EngineExport(Int32, Byte[]) Method

Definition

Exports secret key material from this SPI as described in RFC 9180.

[Android.Runtime.Register("engineExport", "(I[B)[B", "GetEngineExport_IarrayBHandler:Android.Crypto.Hpke.IHpkeSpiInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public byte[] EngineExport (int length, byte[]? context);
[<Android.Runtime.Register("engineExport", "(I[B)[B", "GetEngineExport_IarrayBHandler:Android.Crypto.Hpke.IHpkeSpiInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member EngineExport : int * byte[] -> byte[]

Parameters

length
Int32

expected output length

context
Byte[]

optional context string, may be null or empty

Returns

Byte[]

exported value

Attributes

Remarks

Exports secret key material from this SPI as described in RFC 9180.

Java documentation for android.crypto.hpke.HpkeSpi.engineExport(int, 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.

Applies to