Udostępnij za pośrednictwem


KeyAgreement Constructors

Definition

Overloads

KeyAgreement(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

KeyAgreement(KeyAgreementSpi, Provider, String)

Creates a KeyAgreement object.

KeyAgreement(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected KeyAgreement (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.KeyAgreement : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.KeyAgreement

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

KeyAgreement(KeyAgreementSpi, Provider, String)

Creates a KeyAgreement object.

[Android.Runtime.Register(".ctor", "(Ljavax/crypto/KeyAgreementSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")]
protected KeyAgreement (Javax.Crypto.KeyAgreementSpi? keyAgreeSpi, Java.Security.Provider? provider, string? algorithm);
[<Android.Runtime.Register(".ctor", "(Ljavax/crypto/KeyAgreementSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")>]
new Javax.Crypto.KeyAgreement : Javax.Crypto.KeyAgreementSpi * Java.Security.Provider * string -> Javax.Crypto.KeyAgreement

Parameters

keyAgreeSpi
KeyAgreementSpi

the delegate

provider
Provider

the provider

algorithm
String

the algorithm

Attributes

Remarks

Creates a KeyAgreement object.

Java documentation for javax.crypto.KeyAgreement.KeyAgreement(javax.crypto.KeyAgreementSpi, java.security.Provider, java.lang.String).

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