RSAMultiPrimePrivateCrtKeySpec 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
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(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
- 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.
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.