Java Platform 1.2
Interface PublicKey

All Known Subinterfaces:
DSAPublicKey, RSAPublicKey

public abstract 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 class
Fields inherited from class
Methods inherited from interface
getAlgorithm, getEncoded, getFormat

Field Detail


public static final long serialVersionUID

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.