1. /*
  2. * @(#)DSAPrivateKey.java 1.14 01/11/29
  3. *
  4. * Copyright 2002 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 standard interface to a DSA private key. DSA (Digital Signature
  11. * Algorithm) is defined in NIST's FIPS-186.
  12. *
  13. * @see java.security.Key
  14. * @see java.security.Signature
  15. * @see DSAKey
  16. * @see DSAPublicKey
  17. *
  18. * @version 1.14 01/11/29
  19. * @author Benjamin Renaud
  20. */
  21. public interface DSAPrivateKey extends DSAKey, java.security.PrivateKey {
  22. // Declare serialVersionUID to be compatible with JDK1.1
  23. static final long serialVersionUID = 7776497482533790279L;
  24. /**
  25. * Returns the value of the private key, <code>x</code>.
  26. *
  27. * @return the value of the private key, <code>x</code>.
  28. */
  29. public BigInteger getX();
  30. }