KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > security > PrivateKey


1 /*
2  * @(#)PrivateKey.java 1.29 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;
9
10 /**
11  * <p>A private key. This interface contains no methods or constants.
12  * It merely serves to group (and provide type safety for) all private key
13  * interfaces.
14  *
15  * Note: The specialized private key interfaces extend this interface.
16  * See, for example, the DSAPrivateKey interface in
17  * <code>java.security.interfaces</code>.
18  *
19  * @see Key
20  * @see PublicKey
21  * @see Certificate
22  * @see Signature#initVerify
23  * @see java.security.interfaces.DSAPrivateKey
24  * @see java.security.interfaces.RSAPrivateKey
25  * @see java.security.interfaces.RSAPrivateCrtKey
26  *
27  * @version 1.29 03/12/19
28  * @author Benjamin Renaud
29  * @author Josh Bloch
30  */

31
32 public interface PrivateKey extends Key JavaDoc {
33     // Declare serialVersionUID to be compatible with JDK1.1
34
/**
35      * The class fingerprint that is set to indicate serialization
36      * compatibility with a previous version of the class.
37      */

38     static final long serialVersionUID = 6034044314589513430L;
39 }
40
Popular Tags