< prev index next >

src/java.base/share/classes/java/security/interfaces/RSAPrivateCrtKey.java

Print this page




  29 
  30 /**
  31  * The interface to an RSA private key, as defined in the
  32  * <a href="https://tools.ietf.org/rfc/rfc8017.txt">PKCS#1 v2.2</a> standard,
  33  * using the <i>Chinese Remainder Theorem</i> (CRT) information values.
  34  *
  35  * @author Jan Luehe
  36  * @since 1.2
  37  *
  38  *
  39  * @see RSAPrivateKey
  40  */
  41 
  42 public interface RSAPrivateCrtKey extends RSAPrivateKey {
  43 
  44     /**
  45      * The type fingerprint that is set to indicate
  46      * serialization compatibility with a previous
  47      * version of the type.
  48      */

  49     static final long serialVersionUID = -5682214253527700368L;
  50 
  51     /**
  52      * Returns the public exponent.
  53      *
  54      * @return the public exponent
  55      */
  56     public BigInteger getPublicExponent();
  57 
  58     /**
  59      * Returns the primeP.
  60 
  61      * @return the primeP
  62      */
  63     public BigInteger getPrimeP();
  64 
  65     /**
  66      * Returns the primeQ.
  67      *
  68      * @return the primeQ




  29 
  30 /**
  31  * The interface to an RSA private key, as defined in the
  32  * <a href="https://tools.ietf.org/rfc/rfc8017.txt">PKCS#1 v2.2</a> standard,
  33  * using the <i>Chinese Remainder Theorem</i> (CRT) information values.
  34  *
  35  * @author Jan Luehe
  36  * @since 1.2
  37  *
  38  *
  39  * @see RSAPrivateKey
  40  */
  41 
  42 public interface RSAPrivateCrtKey extends RSAPrivateKey {
  43 
  44     /**
  45      * The type fingerprint that is set to indicate
  46      * serialization compatibility with a previous
  47      * version of the type.
  48      */
  49     @SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
  50     static final long serialVersionUID = -5682214253527700368L;
  51 
  52     /**
  53      * Returns the public exponent.
  54      *
  55      * @return the public exponent
  56      */
  57     public BigInteger getPublicExponent();
  58 
  59     /**
  60      * Returns the primeP.
  61 
  62      * @return the primeP
  63      */
  64     public BigInteger getPrimeP();
  65 
  66     /**
  67      * Returns the primeQ.
  68      *
  69      * @return the primeQ


< prev index next >