Sender.Builder Constructors
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.
Overloads
| Name | Description |
|---|---|
| Sender.Builder(Hpke, IPublicKey) |
Creates the Builder. |
| Sender.Builder(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
Sender.Builder(Hpke, IPublicKey)
Creates the Builder.
[Android.Runtime.Register(".ctor", "(Landroid/crypto/hpke/Hpke;Ljava/security/PublicKey;)V", "", ApiSince=37)]
public Builder(Android.Crypto.Hpke.Hpke hpke, Java.Security.IPublicKey recipientKey);
[<Android.Runtime.Register(".ctor", "(Landroid/crypto/hpke/Hpke;Ljava/security/PublicKey;)V", "", ApiSince=37)>]
new Android.Crypto.Hpke.Sender.Builder : Android.Crypto.Hpke.Hpke * Java.Security.IPublicKey -> Android.Crypto.Hpke.Sender.Builder
Parameters
- hpke
- Hpke
- recipientKey
- IPublicKey
public key of the recipient
- Attributes
Remarks
Creates the Builder.
Android reference for android.crypto.hpke.Sender.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
Sender.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.Sender.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Crypto.Hpke.Sender.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.