DHGenParameterSpec Constructors

Definition

Overloads

DHGenParameterSpec(Int32, Int32)

Constructs a parameter set for the generation of Diffie-Hellman (system) parameters.

DHGenParameterSpec(IntPtr, JniHandleOwnership)

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

DHGenParameterSpec(Int32, Int32)

Constructs a parameter set for the generation of Diffie-Hellman (system) parameters.

[Android.Runtime.Register(".ctor", "(II)V", "")]
public DHGenParameterSpec (int primeSize, int exponentSize);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Javax.Crypto.Spec.DHGenParameterSpec : int * int -> Javax.Crypto.Spec.DHGenParameterSpec

Parameters

primeSize
Int32

the size (in bits) of the prime modulus.

exponentSize
Int32

the size (in bits) of the random exponent.

Attributes

Remarks

Constructs a parameter set for the generation of Diffie-Hellman (system) parameters. The constructed parameter set can be used to initialize an java.security.AlgorithmParameterGenerator AlgorithmParameterGenerator object for the generation of Diffie-Hellman parameters.

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

DHGenParameterSpec(IntPtr, JniHandleOwnership)

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

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

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