1. /*
  2. * @(#)DSAPublicKey.java 1.20 03/01/23
  3. *
  4. * Copyright 2003 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.math.BigInteger;
  9. /**
  10. * The interface to a DSA public key. DSA (Digital Signature Algorithm)
  11. * is defined in NIST's FIPS-186.
  12. *
  13. * @see java.security.Key
  14. * @see java.security.Signature
  15. * @see DSAKey
  16. * @see DSAPrivateKey
  17. *
  18. * @version 1.20 03/01/23
  19. * @author Benjamin Renaud
  20. */
  21. public interface DSAPublicKey extends DSAKey, java.security.PublicKey {
  22. // Declare serialVersionUID to be compatible with JDK1.1
  23. /**
  24. * The class fingerprint that is set to indicate
  25. * serialization compatibility with a previous
  26. * version of the class.
  27. */
  28. static final long serialVersionUID = 1234526332779022332L;
  29. /**
  30. * Returns the value of the public key, <code>y</code>.
  31. *
  32. * @return the value of the public key, <code>y</code>.
  33. */
  34. public BigInteger getY();
  35. }