KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)ECKey.java 1.2 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.security.spec.ECParameterSpec JavaDoc;
10
11 /**
12  * The interface to an elliptic curve (EC) key.
13  *
14  * @author Valerie Peng
15  *
16  * @version 1.2, 12/19/03
17  * @since 1.5
18  */

19 public interface ECKey {
20     /**
21      * Returns the domain parameters associated
22      * with this key. The domain parameters are
23      * either explicitly specified or implicitly
24      * created during key generation.
25      * @return the associated domain parameters.
26      */

27     ECParameterSpec JavaDoc getParams();
28 }
29
Popular Tags