1. /*
  2. * @(#)DSAKey.java 1.14 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. /**
  12. * The interface to a DSA public or private key. DSA (Digital Signature
  13. * Algorithm) is defined in NIST's FIPS-186.
  14. *
  15. * @see DSAParams
  16. * @see java.security.Key
  17. * @see java.security.Signature
  18. *
  19. * @version 1.14 00/02/02
  20. * @author Benjamin Renaud
  21. * @author Josh Bloch
  22. */
  23. public interface DSAKey {
  24. /**
  25. * Returns the DSA-specific key parameters. These parameters are
  26. * never secret.
  27. *
  28. * @return the DSA-specific key parameters.
  29. *
  30. * @see DSAParams
  31. */
  32. public DSAParams getParams();
  33. }