Compartilhar via


DHPublicKeySpec Constructors

Definition

Overloads

DHPublicKeySpec(IntPtr, JniHandleOwnership)

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

DHPublicKeySpec(BigInteger, BigInteger, BigInteger)

Constructor that takes a public value y, a prime modulus p, and a base generator g.

DHPublicKeySpec(IntPtr, JniHandleOwnership)

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

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

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

DHPublicKeySpec(BigInteger, BigInteger, BigInteger)

Constructor that takes a public value y, a prime modulus p, and a base generator g.

[Android.Runtime.Register(".ctor", "(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V", "")]
public DHPublicKeySpec (Java.Math.BigInteger? y, Java.Math.BigInteger? p, Java.Math.BigInteger? g);
[<Android.Runtime.Register(".ctor", "(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V", "")>]
new Javax.Crypto.Spec.DHPublicKeySpec : Java.Math.BigInteger * Java.Math.BigInteger * Java.Math.BigInteger -> Javax.Crypto.Spec.DHPublicKeySpec

Parameters

y
BigInteger

public value y

p
BigInteger

prime modulus p

g
BigInteger

base generator g

Attributes

Remarks

Constructor that takes a public value y, a prime modulus p, and a base generator g.

Java documentation for javax.crypto.spec.DHPublicKeySpec.DHPublicKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger).

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