1 /* 2 * @(#)PublicKey.java 1.32 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 public key. This interface contains no methods or constants. 12 * It merely serves to group (and provide type safety for) all public key 13 * interfaces. 14 * 15 * Note: The specialized public key interfaces extend this interface. 16 * See, for example, the DSAPublicKey interface in 17 * <code>java.security.interfaces</code>. 18 * 19 * @see Key 20 * @see PrivateKey 21 * @see Certificate 22 * @see Signature#initVerify 23 * @see java.security.interfaces.DSAPublicKey 24 * @see java.security.interfaces.RSAPublicKey 25 * 26 * @version 1.32 03/12/19 27 */ 28 29 public interface PublicKey extends Key { 30 // Declare serialVersionUID to be compatible with JDK1.1 31 /** 32 * The class fingerprint that is set to indicate serialization 33 * compatibility with a previous version of the class. 34 */ 35 static final long serialVersionUID = 7187392471159151072L; 36 } 37