Language

Sender.Export(Int32, Byte[]) Method

Definition

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

[Android.Runtime.Register("export", "(I[B)[B", "GetExport_IarrayBHandler", ApiSince=37)]
public virtual byte[] Export(int length, byte[]? context);
[<Android.Runtime.Register("export", "(I[B)[B", "GetExport_IarrayBHandler", ApiSince=37)>]
abstract member Export : int * byte[] -> byte[]
override this.Export : int * byte[] -> byte[]

Parameters

length
Int32

expected output length

context
Byte[]

optional exporter context string, may be null or empty

Returns

Byte[]

the exported value

Attributes

Remarks

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

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

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