1. /*
  2. * @(#)ECPrivateKey.java 1.3 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. import java.math.BigInteger;
  9. import java.security.PrivateKey;
  10. /**
  11. * The interface to an elliptic curve (EC) private key.
  12. *
  13. * @author Valerie Peng
  14. *
  15. * @version 1.3, 12/19/03
  16. *
  17. * @see PrivateKey
  18. * @see ECKey
  19. *
  20. * @since 1.5
  21. */
  22. public interface ECPrivateKey extends PrivateKey, ECKey {
  23. /**
  24. * The class fingerprint that is set to indicate
  25. * serialization compatibility.
  26. */
  27. static final long serialVersionUID = -7896394956925609184L;
  28. /**
  29. * Returns the private value S.
  30. * @return the private value S.
  31. */
  32. BigInteger getS();
  33. }