Interface RSAPrivateCrtKey

All Superinterfaces:
Key, PrivateKey, RSAKey, RSAPrivateKey, Serializable
All Known Implementing Classes:
BCRSAPrivateCrtKey, JCERSAPrivateCrtKey, OpenSSLRSAPrivateCrtKey

public interface RSAPrivateCrtKey
extends RSAPrivateKey
The interface for a PKCS#1 RSA private key using CRT information values.
  • 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.
    • 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 primet 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.