KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)DSAPublicKey.java 1.21 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
8 package java.security.interfaces;
9
10 import java.math.BigInteger JavaDoc;
11
12 /**
13  * The interface to a DSA public key. DSA (Digital Signature Algorithm)
14  * is defined in NIST's FIPS-186.
15  *
16  * @see java.security.Key
17  * @see java.security.Signature
18  * @see DSAKey
19  * @see DSAPrivateKey
20  *
21  * @version 1.21 03/12/19
22  * @author Benjamin Renaud
23  */

24 public interface DSAPublicKey extends DSAKey JavaDoc, java.security.PublicKey JavaDoc {
25
26     // Declare serialVersionUID to be compatible with JDK1.1
27

28    /**
29     * The class fingerprint that is set to indicate
30     * serialization compatibility with a previous
31     * version of the class.
32     */

33     static final long serialVersionUID = 1234526332779022332L;
34
35     /**
36      * Returns the value of the public key, <code>y</code>.
37      *
38      * @return the value of the public key, <code>y</code>.
39      */

40     public BigInteger JavaDoc getY();
41 }
42
43
44
Popular Tags