< prev index next >

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

Print this page




  28 import java.math.BigInteger;
  29 
  30 /**
  31  * The interface to an RSA private key.
  32  *
  33  * @author Jan Luehe
  34  * @since 1.2
  35  *
  36  *
  37  * @see RSAPrivateCrtKey
  38  */
  39 
  40 public interface RSAPrivateKey extends java.security.PrivateKey, RSAKey
  41 {
  42 
  43     /**
  44      * The type fingerprint that is set to indicate
  45      * serialization compatibility with a previous
  46      * version of the type.
  47      */

  48     static final long serialVersionUID = 5187144804936595022L;
  49 
  50     /**
  51      * Returns the private exponent.
  52      *
  53      * @return the private exponent
  54      */
  55     public BigInteger getPrivateExponent();
  56 }


  28 import java.math.BigInteger;
  29 
  30 /**
  31  * The interface to an RSA private key.
  32  *
  33  * @author Jan Luehe
  34  * @since 1.2
  35  *
  36  *
  37  * @see RSAPrivateCrtKey
  38  */
  39 
  40 public interface RSAPrivateKey extends java.security.PrivateKey, RSAKey
  41 {
  42 
  43     /**
  44      * The type fingerprint that is set to indicate
  45      * serialization compatibility with a previous
  46      * version of the type.
  47      */
  48     @SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
  49     static final long serialVersionUID = 5187144804936595022L;
  50 
  51     /**
  52      * Returns the private exponent.
  53      *
  54      * @return the private exponent
  55      */
  56     public BigInteger getPrivateExponent();
  57 }
< prev index next >