public class RSAOtherPrimeInfo extends Object
RSAPrivateCrtKeySpec,
RSAMultiPrimePrivateCrtKey| Constructor and Description |
|---|
RSAOtherPrimeInfo(BigInteger prime,
BigInteger primeExponent,
BigInteger crtCoefficient)
Constructs a new
RSAOtherPrimeInfo given the PKCS#1 MPIs. |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getCrtCoefficient()
Returns the CRT Coefficient.
|
BigInteger |
getExponent()
Returns the prime's exponent.
|
BigInteger |
getPrime()
Returns the prime.
|
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
RSAOtherPrimeInfo given the PKCS#1 MPIs.prime - the prime factor of n.primeExponent - the exponent.crtCoefficient - the Chinese Remainder Theorem coefficient.NullPointerException - if any of the parameters is null.public final BigInteger getPrime()
public final BigInteger getExponent()
public final BigInteger getCrtCoefficient()