다음을 통해 공유


DHPrivateKeySpec Constructors

Definition

Overloads

DHPrivateKeySpec(IntPtr, JniHandleOwnership)

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

DHPrivateKeySpec(BigInteger, BigInteger, BigInteger)

Constructor that takes a private value x, a prime modulus p, and a base generator g.

DHPrivateKeySpec(IntPtr, JniHandleOwnership)

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

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

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

DHPrivateKeySpec(BigInteger, BigInteger, BigInteger)

Constructor that takes a private value x, a prime modulus p, and a base generator g.

[Android.Runtime.Register(".ctor", "(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V", "")]
public DHPrivateKeySpec (Java.Math.BigInteger? x, 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.DHPrivateKeySpec : Java.Math.BigInteger * Java.Math.BigInteger * Java.Math.BigInteger -> Javax.Crypto.Spec.DHPrivateKeySpec

Parameters

x
BigInteger

private value x

p
BigInteger

prime modulus p

g
BigInteger

base generator g

Attributes

Remarks

Constructor that takes a private value x, a prime modulus p, and a base generator g.

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