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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetCrtCoefficient()Returns the CRT coefficient.BigIntegergetExponent()Returns the exponent.BigIntegergetPrime()Returns the prime factor.
-
-
-
Constructor Detail
-
RSAOtherPrimeInfo
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
Creates a newRSAOtherPrimeInfowith the specified prime, exponent, and CRT coefficient.- Parameters:
prime- the prime factor.primeExponent- the prime exponent.crtCoefficient- the CRT coefficient.
-
-
Method Detail
-
getCrtCoefficient
public final BigInteger getCrtCoefficient()
Returns the CRT coefficient.- Returns:
- the CRT coefficient.
-
getPrime
public final BigInteger getPrime()
Returns the prime factor.- Returns:
- the prime factor.
-
getExponent
public final BigInteger getExponent()
Returns the exponent.- Returns:
- the exponent.
-
-