KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > security > interfaces > ECPrivateKey


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
9 import java.math.BigInteger JavaDoc;
10 import java.security.PrivateKey JavaDoc;
11
12 /**
13  * The interface to an elliptic curve (EC) private key.
14  *
15  * @author Valerie Peng
16  *
17  * @version 1.3, 12/19/03
18  *
19  * @see PrivateKey
20  * @see ECKey
21  *
22  * @since 1.5
23  */

24 public interface ECPrivateKey extends PrivateKey JavaDoc, ECKey JavaDoc {
25    /**
26     * The class fingerprint that is set to indicate
27     * serialization compatibility.
28     */

29     static final long serialVersionUID = -7896394956925609184L;
30
31     /**
32      * Returns the private value S.
33      * @return the private value S.
34      */

35     BigInteger JavaDoc getS();
36 }
37
Popular Tags