JavaTM 2 Platform
Standard Edition
Interface PublicKey

All Known Subinterfaces:
DSAPublicKey, RSAPublicKey

public interface PublicKey
extends Key

A public key. This interface contains no methods or constants. It merely serves to group (and provide type safety for) all public key interfaces. Note: The specialized public key interfaces extend this interface. See, for example, the DSAPublicKey interface in

See Also:
Key, PrivateKey, Certificate, Signature.initVerify(, DSAPublicKey, RSAPublicKey

Field Summary
static long serialVersionUID
Fields inherited from interface
Methods inherited from interface
getAlgorithm, getEncoded, getFormat

Field Detail


public static final long serialVersionUID

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.