1. /*
  2. * @(#)DSAPrivateKey.java 1.16 00/02/02
  3. *
  4. * Copyright 1997-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 standard interface to a DSA private key. DSA (Digital Signature
  14. * Algorithm) is defined in NIST's FIPS-186.
  15. *
  16. * @see java.security.Key
  17. * @see java.security.Signature
  18. * @see DSAKey
  19. * @see DSAPublicKey
  20. *
  21. * @version 1.16 00/02/02
  22. * @author Benjamin Renaud
  23. */
  24. public interface DSAPrivateKey extends DSAKey, java.security.PrivateKey {
  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 = 7776497482533790279L;
  32. /**
  33. * Returns the value of the private key, <code>x</code>.
  34. *
  35. * @return the value of the private key, <code>x</code>.
  36. */
  37. public BigInteger getX();
  38. }