Recipient.Export(Int32, 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.
Exports secret key material from this Recipient 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
exported value
- Attributes
Remarks
Exports secret key material from this Recipient as described in RFC 9180.
Android reference for android.crypto.hpke.Recipient.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.