Class 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 Detail

      • RSAOtherPrimeInfo

        public RSAOtherPrimeInfo​(BigInteger prime,
                                 BigInteger primeExponent,
                                 BigInteger crtCoefficient)
        Creates a new RSAOtherPrimeInfo with 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.