KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > crypto > interfaces > DHKey


1 /*
2  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 /*
7  * @(#)DHKey.java 1.4 03/12/19
8  */

9   
10 /*
11  * NOTE:
12  * Because of various external restrictions (i.e. US export
13  * regulations, etc.), the actual source code can not be provided
14  * at this time. This file represents the skeleton of the source
15  * file, so that javadocs of the API can be created.
16  */

17
18 package javax.crypto.interfaces;
19
20 import javax.crypto.spec.DHParameterSpec;
21
22 /**
23  * The interface to a Diffie-Hellman key.
24  *
25  * @author Jan Luehe
26  *
27  * @version 1.4, 12/19/03
28  *
29  * @see javax.crypto.spec.DHParameterSpec
30  * @see DHPublicKey
31  * @see DHPrivateKey
32  * @since 1.4
33  */

34 public interface DHKey
35 {
36
37     /**
38      * Returns the key parameters.
39      *
40      * @return the key parameters
41      */

42     public DHParameterSpec getParams();
43 }
44
Popular Tags