public RSAOtherPrimeInfo(BigInteger prime,
BigInteger primeExponent,
BigInteger crtCoefficient) {
if (prime == null) {
throw new NullPointerException("the prime parameter must be " +
"non-null");
}
if (primeExponent == null) {
throw new NullPointerException("the primeExponent parameter " +
"must be non-null");
}
if (crtCoefficient == null) {
throw new NullPointerException("the crtCoefficient parameter " +
"must be non-null");
}
this.prime = prime;
this.primeExponent = primeExponent;
this.crtCoefficient = crtCoefficient;
}
Creates a new RSAOtherPrimeInfo
given the prime, primeExponent, and
crtCoefficient as defined in PKCS#1. Parameters:
prime - the prime factor of n.
primeExponent - the exponent.
crtCoefficient - the Chinese Remainder Theorem
coefficient.
Throws:
NullPointerException - if any of the parameters, i.e.
prime, primeExponent,
crtCoefficient, is null.
- exception:
NullPointerException - if any of the parameters, i.e.
prime, primeExponent,
crtCoefficient, is null.
|