RSAOtherPrimeInfopublic class RSAOtherPrimeInfo extends Object The additional prime information specified as triplet of primes, a prime
exponent, and a Chinese Remainder Theorem (CRT) coefficient.
Defined in the PKCS #1 v2.1
standard.
|
Fields Summary |
---|
private final BigInteger | prime | private final BigInteger | primeExponent | private final BigInteger | crtCoefficient |
Constructors Summary |
---|
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)Creates a new {@code RSAOtherPrimeInfo} with the specified prime,
exponent, and CRT coefficient.
if (prime == null) {
throw new NullPointerException(Messages.getString("security.83", "prime")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (primeExponent == null) {
throw new NullPointerException(Messages.getString("security.83", "primeExponent")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (crtCoefficient == null) {
throw new NullPointerException(Messages.getString("security.83", "crtCoefficient")); //$NON-NLS-1$ //$NON-NLS-2$
}
this.prime = prime;
this.primeExponent = primeExponent;
this.crtCoefficient = crtCoefficient;
|
|