Package java.security.spec
Class RSAOtherPrimeInfo
java.lang.Object
java.security.spec.RSAOtherPrimeInfo
public 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.
-
Constructor Summary
Constructors Constructor Description RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)Creates a newRSAOtherPrimeInfowith the specified prime, exponent, and CRT coefficient. -
Method Summary
Modifier and Type Method Description BigIntegergetCrtCoefficient()Returns the CRT coefficient.BigIntegergetExponent()Returns the exponent.BigIntegergetPrime()Returns the prime factor.
-
Constructor Details
-
RSAOtherPrimeInfo
Creates a newRSAOtherPrimeInfowith the specified prime, exponent, and CRT coefficient.- Parameters:
prime- the prime factor.primeExponent- the prime exponent.crtCoefficient- the CRT coefficient.
-
-
Method Details
-
getCrtCoefficient
Returns the CRT coefficient.- Returns:
- the CRT coefficient.
-
getPrime
Returns the prime factor.- Returns:
- the prime factor.
-
getExponent
Returns the exponent.- Returns:
- the exponent.
-