public class RSAOtherPrimeInfo extends Object
OtherPrimeInfo ::= SEQUENCE {
prime INTEGER,
exponent INTEGER,
coefficient INTEGER
}
RSAPrivateCrtKeySpec,
RSAMultiPrimePrivateCrtKey
| Constructor and Description |
|---|
RSAOtherPrimeInfo(BigInteger
Creates a new
RSAOtherPrimeInfo given the prime, primeExponent, and crtCoefficient as defined in PKCS#1.
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getCrtCoefficient()
Returns the prime's crtCoefficient.
|
BigInteger |
getExponent()
Returns the prime's exponent.
|
BigInteger |
getPrime()
Returns the prime.
|
public RSAOtherPrimeInfo(BigIntegerprime, BigInteger primeExponent, BigInteger crtCoefficient)
RSAOtherPrimeInfo given the prime, primeExponent, and crtCoefficient as defined in PKCS#1.
prime - the prime factor of n.
primeExponent - the exponent.
crtCoefficient - the Chinese Remainder Theorem coefficient.
NullPointerException - if any of the parameters, i.e.
prime,
primeExponent,
crtCoefficient, is null.
public final BigIntegergetPrime()
public final BigIntegergetExponent()
public final BigIntegergetCrtCoefficient()