26
27 import java.math.BigInteger;
28 import java.security.PrivateKey;
29
30 /**
31 * The interface to an elliptic curve (EC) private key.
32 *
33 * @author Valerie Peng
34 *
35 *
36 * @see PrivateKey
37 * @see ECKey
38 *
39 * @since 1.5
40 */
41 public interface ECPrivateKey extends PrivateKey, ECKey {
42 /**
43 * The class fingerprint that is set to indicate
44 * serialization compatibility.
45 */
46 static final long serialVersionUID = -7896394956925609184L;
47
48 /**
49 * Returns the private value S.
50 * @return the private value S.
51 */
52 BigInteger getS();
53 }
|
26
27 import java.math.BigInteger;
28 import java.security.PrivateKey;
29
30 /**
31 * The interface to an elliptic curve (EC) private key.
32 *
33 * @author Valerie Peng
34 *
35 *
36 * @see PrivateKey
37 * @see ECKey
38 *
39 * @since 1.5
40 */
41 public interface ECPrivateKey extends PrivateKey, ECKey {
42 /**
43 * The class fingerprint that is set to indicate
44 * serialization compatibility.
45 */
46 @SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
47 static final long serialVersionUID = -7896394956925609184L;
48
49 /**
50 * Returns the private value S.
51 * @return the private value S.
52 */
53 BigInteger getS();
54 }
|