Språk

Recipient.Builder Constructors

Definition

Overloads

Name Description
Recipient.Builder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

Recipient.Builder(Hpke, Byte[], IPrivateKey)

Creates the builder.

Recipient.Builder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected Builder(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Crypto.Hpke.Recipient.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Crypto.Hpke.Recipient.Builder

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to

Recipient.Builder(Hpke, Byte[], IPrivateKey)

Creates the builder.

[Android.Runtime.Register(".ctor", "(Landroid/crypto/hpke/Hpke;[BLjava/security/PrivateKey;)V", "", ApiSince=37)]
public Builder(Android.Crypto.Hpke.Hpke hpke, byte[] encapsulated, Java.Security.IPrivateKey recipientKey);
[<Android.Runtime.Register(".ctor", "(Landroid/crypto/hpke/Hpke;[BLjava/security/PrivateKey;)V", "", ApiSince=37)>]
new Android.Crypto.Hpke.Recipient.Builder : Android.Crypto.Hpke.Hpke * byte[] * Java.Security.IPrivateKey -> Android.Crypto.Hpke.Recipient.Builder

Parameters

hpke
Hpke
encapsulated
Byte[]

encapsulated ephemeral key from an Sender

recipientKey
IPrivateKey

private key of the recipient

Attributes

Remarks

Creates the builder.

Android reference for android.crypto.hpke.Recipient.Builder.Builder.

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