< prev index next >

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

Print this page




  28 import java.security.spec.ECPoint;
  29 
  30 /**
  31  * The interface to an elliptic curve (EC) public key.
  32  *
  33  * @author Valerie Peng
  34  *
  35  *
  36  * @see PublicKey
  37  * @see ECKey
  38  * @see java.security.spec.ECPoint
  39  *
  40  * @since 1.5
  41  */
  42 public interface ECPublicKey extends PublicKey, ECKey {
  43 
  44    /**
  45     * The class fingerprint that is set to indicate
  46     * serialization compatibility.
  47     */

  48     static final long serialVersionUID = -3314988629879632826L;
  49 
  50     /**
  51      * Returns the public point W.
  52      * @return the public point W.
  53      */
  54     ECPoint getW();
  55 }


  28 import java.security.spec.ECPoint;
  29 
  30 /**
  31  * The interface to an elliptic curve (EC) public key.
  32  *
  33  * @author Valerie Peng
  34  *
  35  *
  36  * @see PublicKey
  37  * @see ECKey
  38  * @see java.security.spec.ECPoint
  39  *
  40  * @since 1.5
  41  */
  42 public interface ECPublicKey extends PublicKey, ECKey {
  43 
  44    /**
  45     * The class fingerprint that is set to indicate
  46     * serialization compatibility.
  47     */
  48     @SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
  49     static final long serialVersionUID = -3314988629879632826L;
  50 
  51     /**
  52      * Returns the public point W.
  53      * @return the public point W.
  54      */
  55     ECPoint getW();
  56 }
< prev index next >