Compartir a través de


RSAMultiPrimePrivateCrtKeySpec Constructors

Definition

Overloads

RSAMultiPrimePrivateCrtKeySpec(IntPtr, JniHandleOwnership)

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

RSAMultiPrimePrivateCrtKeySpec(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, RSAOtherPrimeInfo[])

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

RSAMultiPrimePrivateCrtKeySpec(IntPtr, JniHandleOwnership)

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

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

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

RSAMultiPrimePrivateCrtKeySpec(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, RSAOtherPrimeInfo[])

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

[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;[Ljava/security/spec/RSAOtherPrimeInfo;)V", "")]
public RSAMultiPrimePrivateCrtKeySpec (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, Java.Security.Spec.RSAOtherPrimeInfo[]? otherPrimeInfo);
[<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;[Ljava/security/spec/RSAOtherPrimeInfo;)V", "")>]
new Java.Security.Spec.RSAMultiPrimePrivateCrtKeySpec : 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.RSAOtherPrimeInfo[] -> Java.Security.Spec.RSAMultiPrimePrivateCrtKeySpec

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.

otherPrimeInfo
RSAOtherPrimeInfo[]

triplets of the rest of primes, null can be specified if there are only two prime factors (p and q).

Attributes

Exceptions

if otherPrimeInfo is not null but empty.

Remarks

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

Note that the contents of otherPrimeInfo are copied to protect against subsequent modification when constructing this object.

Java documentation for java.security.spec.RSAMultiPrimePrivateCrtKeySpec.RSAMultiPrimePrivateCrtKeySpec(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.RSAOtherPrimeInfo[]).

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