DHParameterSpec 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
DHParameterSpec(BigInteger, BigInteger) |
Constructs a parameter set for Diffie-Hellman, using a prime modulus
|
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
|
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
the prime modulus
the base generator
- Attributes
Remarks
Constructs a parameter set for Diffie-Hellman, using a prime modulus p
and a base generator g
.
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
- 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
the prime modulus
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).
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.