Interface RSAMultiPrimePrivateCrtKey

All Superinterfaces:
Key, PrivateKey, RSAKey, RSAPrivateKey, Serializable

public interface RSAMultiPrimePrivateCrtKey
extends RSAPrivateKey
The interface for a Multi-Prime RSA private key. Specified by PKCS #1 v2.0 Amendment 1: Multi-Prime RSA.
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      the serial version identifier.
      See Also:
      Constant Field Values
  • Method Details

    • getCrtCoefficient

      BigInteger getCrtCoefficient()
      Returns the CRT coefficient, q^-1 mod p.
      Returns:
      the CRT coefficient.
    • getOtherPrimeInfo

      RSAOtherPrimeInfo[] getOtherPrimeInfo()
      Returns the information for the additional primes.
      Returns:
      the information for the additional primes, or null if there are only the two primes (p, q),
    • getPrimeP

      BigInteger getPrimeP()
      Returns the prime factor p of n.
      Returns:
      the prime factor p of n.
    • getPrimeQ

      BigInteger getPrimeQ()
      Returns the prime factor q of n.
      Returns:
      the prime factor q of n.
    • getPrimeExponentP

      BigInteger getPrimeExponentP()
      Returns the CRT exponent of the prime p.
      Returns:
      the CRT exponent of the prime p.
    • getPrimeExponentQ

      BigInteger getPrimeExponentQ()
      Returns the CRT exponent of the prime q.
      Returns:
      the CRT exponent of the prime q.
    • getPublicExponent

      BigInteger getPublicExponent()
      Returns the public exponent e.
      Returns:
      the public exponent e.