1. /*
  2. * @(#)ECPublicKey.java 1.3 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security.interfaces;
  8. import java.security.PublicKey;
  9. import java.security.spec.ECPoint;
  10. /**
  11. * The interface to an elliptic curve (EC) public key.
  12. *
  13. * @author Valerie Peng
  14. *
  15. * @version 1.3, 12/19/03
  16. *
  17. * @see PublicKey
  18. * @see ECKey
  19. * @see java.security.spec.ECPoint
  20. *
  21. * @since 1.5
  22. */
  23. public interface ECPublicKey extends PublicKey, ECKey {
  24. /**
  25. * The class fingerprint that is set to indicate
  26. * serialization compatibility.
  27. */
  28. static final long serialVersionUID = -3314988629879632826L;
  29. /**
  30. * Returns the public point W.
  31. * @return the public point W.
  32. */
  33. ECPoint getW();
  34. }