1. /*
  2. * @(#)DSAPrivateKey.java 1.18 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 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.18 03/01/23
  19. * @author Benjamin Renaud
  20. */
  21. public interface DSAPrivateKey extends DSAKey, java.security.PrivateKey {
  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 = 7776497482533790279L;
  29. /**
  30. * Returns the value of the private key, <code>x</code>.
  31. *
  32. * @return the value of the private key, <code>x</code>.
  33. */
  34. public BigInteger getX();
  35. }