KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)DHPublicKey.java 1.5 04/01/14
3  *
4  * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

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

15
16 package javax.crypto.interfaces;
17
18 import java.math.BigInteger;
19
20 /**
21  * The interface to a Diffie-Hellman public key.
22  *
23  * @author Jan Luehe
24  *
25  * @version 1.14, 01/14/04
26  *
27  * @see DHKey
28  * @see DHPrivateKey
29  * @since 1.4
30  */

31 public interface DHPublicKey extends DHKey, java.security.PublicKey
32 {
33     /**
34      * The class fingerprint that is set to indicate serialization
35      * compatibility since J2SE 1.4.
36      */

37     public static final long serialVersionUID = -6628103563352519193L;
38
39     /**
40      * Returns the public value, <code>y</code>.
41      *
42      * @return the public value, <code>y</code>
43      */

44     public BigInteger getY();
45 }
46
Popular Tags