DHParameterSpec Constructors

Definition

Overloads

DHParameterSpec(BigInteger, BigInteger)

Constructs a parameter set for Diffie-Hellman, using a prime modulus p and a base generator g.

DHParameterSpec(IntPtr, JniHandleOwnership)

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

DHParameterSpec(BigInteger, BigInteger, Int32)

Constructs a parameter set for Diffie-Hellman, using a prime modulus p, a base generator g, and the size in bits, l, of the random exponent (private value).

DHParameterSpec(BigInteger, BigInteger)

Constructs a parameter set for Diffie-Hellman, using a prime modulus p and a base generator g.

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

Parameters

p
BigInteger

the prime modulus

g
BigInteger

the base generator

Attributes

Remarks

Constructs a parameter set for Diffie-Hellman, using a prime modulus p and a base generator g.

Java documentation for javax.crypto.spec.DHParameterSpec.DHParameterSpec(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

DHParameterSpec(IntPtr, JniHandleOwnership)

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

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

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

DHParameterSpec(BigInteger, BigInteger, Int32)

Constructs a parameter set for Diffie-Hellman, using a prime modulus p, a base generator g, and the size in bits, l, of the random exponent (private value).

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

Parameters

p
BigInteger

the prime modulus

g
BigInteger

the base generator

l
Int32

the size in bits of the random exponent (private value)

Attributes

Remarks

Constructs a parameter set for Diffie-Hellman, using a prime modulus p, a base generator g, and the size in bits, l, of the random exponent (private value).

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

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