1. /*
  2. * @(#)DSAPublicKey.java 1.18 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.security.interfaces;
  11. import java.math.BigInteger;
  12. /**
  13. * The interface to a DSA public key. DSA (Digital Signature Algorithm)
  14. * is defined in NIST's FIPS-186.
  15. *
  16. * @see java.security.Key
  17. * @see java.security.Signature
  18. * @see DSAKey
  19. * @see DSAPrivateKey
  20. *
  21. * @version 1.18 00/02/02
  22. * @author Benjamin Renaud
  23. */
  24. public interface DSAPublicKey extends DSAKey, java.security.PublicKey {
  25. // Declare serialVersionUID to be compatible with JDK1.1
  26. /**
  27. * The class fingerprint that is set to indicate
  28. * serialization compatibility with a previous
  29. * version of the class.
  30. */
  31. static final long serialVersionUID = 1234526332779022332L;
  32. /**
  33. * Returns the value of the public key, <code>y</code>.
  34. *
  35. * @return the value of the public key, <code>y</code>.
  36. */
  37. public BigInteger getY();
  38. }