RSAPrivateCrtKeySpec Constructors

Definition

Overloads

RSAPrivateCrtKeySpec(IntPtr, JniHandleOwnership)

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

RSAPrivateCrtKeySpec(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger)

Creates a new RSAPrivateCrtKeySpec given the modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, and crtCoefficient as defined in PKCS#1.

RSAPrivateCrtKeySpec(IntPtr, JniHandleOwnership)

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

protected RSAPrivateCrtKeySpec (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Spec.RSAPrivateCrtKeySpec : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Spec.RSAPrivateCrtKeySpec

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

RSAPrivateCrtKeySpec(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger)

Creates a new RSAPrivateCrtKeySpec given the modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, and crtCoefficient as defined in PKCS#1.

[Android.Runtime.Register(".ctor", "(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V", "")]
public RSAPrivateCrtKeySpec (Java.Math.BigInteger? modulus, Java.Math.BigInteger? publicExponent, Java.Math.BigInteger? privateExponent, Java.Math.BigInteger? primeP, Java.Math.BigInteger? primeQ, Java.Math.BigInteger? primeExponentP, Java.Math.BigInteger? primeExponentQ, Java.Math.BigInteger? crtCoefficient);
[<Android.Runtime.Register(".ctor", "(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V", "")>]
new Java.Security.Spec.RSAPrivateCrtKeySpec : Java.Math.BigInteger * Java.Math.BigInteger * Java.Math.BigInteger * Java.Math.BigInteger * Java.Math.BigInteger * Java.Math.BigInteger * Java.Math.BigInteger * Java.Math.BigInteger -> Java.Security.Spec.RSAPrivateCrtKeySpec

Parameters

modulus
BigInteger

the modulus n

publicExponent
BigInteger

the public exponent e

privateExponent
BigInteger

the private exponent d

primeP
BigInteger

the prime factor p of n

primeQ
BigInteger

the prime factor q of n

primeExponentP
BigInteger

this is d mod (p-1)

primeExponentQ
BigInteger

this is d mod (q-1)

crtCoefficient
BigInteger

the Chinese Remainder Theorem coefficient q-1 mod p

Attributes

Remarks

Creates a new RSAPrivateCrtKeySpec given the modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, and crtCoefficient as defined in PKCS#1.

Java documentation for java.security.spec.RSAPrivateCrtKeySpec.RSAPrivateCrtKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, 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