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