java.lang.Object | ||
↳ | java.security.spec.RSAPrivateKeySpec | |
↳ | java.security.spec.RSAPrivateCrtKeySpec |
The key specification of a RSA private key using Chinese Remainder Theorem (CRT) values.
Defined in the PKCS #1 v2.1 standard.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
RSAMultiPrimePrivateCrtKeySpec with the specified
modulus, public exponent, private exponent, prime factors, prime
exponents, crt coefficient, and additional primes. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the CRT coefficient,
q^-1 mod p . | |||||||||||
Returns the exponent of the prime
p . | |||||||||||
Returns the exponent of the prime
q . | |||||||||||
Returns the prime factor
p . | |||||||||||
Returns the prime factor
q . | |||||||||||
Returns the public exponent
e . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.security.spec.RSAPrivateKeySpec
| |||||||||||
From class java.lang.Object
|
Creates a new RSAMultiPrimePrivateCrtKeySpec
with the specified
modulus, public exponent, private exponent, prime factors, prime
exponents, crt coefficient, and additional primes.
modulus | the modulus n . |
---|---|
publicExponent | the public exponent e . |
privateExponent | the private exponent d . |
primeP | the prime factor p of n . |
primeQ | the prime factor q of n . |
primeExponentP | the exponent of the prime p . |
primeExponentQ | the exponent of the prime q . |
crtCoefficient | the CRT coefficient q^-1 mod p . |
Returns the CRT coefficient, q^-1 mod p
.
q^-1 mod p
.Returns the exponent of the prime p
.
p
.Returns the exponent of the prime q
.
q
.Returns the prime factor p
.
p
.Returns the prime factor q
.
q
.Returns the public exponent e
.
e
.