java.security
Interface PublicKey

All Superinterfaces:
Key sample code for java.security.Key definition code for java.security.Key , Serializable sample code for java.io.Serializable definition code for java.io.Serializable
All Known Subinterfaces:
DSAPublicKey sample code for java.security.interfaces.DSAPublicKey definition code for java.security.interfaces.DSAPublicKey , ECPublicKey sample code for java.security.interfaces.ECPublicKey definition code for java.security.interfaces.ECPublicKey , RSAPublicKey sample code for java.security.interfaces.RSAPublicKey definition code for java.security.interfaces.RSAPublicKey

public interface PublicKey
extends Key sample code for java.security.Key definition code for java.security.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 java.security.interfaces.

See Also:
Key sample code for java.security.Key definition code for java.security.Key , PrivateKey sample code for java.security.PrivateKey definition code for java.security.PrivateKey , Certificate sample code for java.security.Certificate definition code for java.security.Certificate , Signature.initVerify(java.security.PublicKey) sample code for java.security.Signature.initVerify(java.security.PublicKey) definition code for java.security.Signature.initVerify(java.security.PublicKey) , DSAPublicKey sample code for java.security.interfaces.DSAPublicKey definition code for java.security.interfaces.DSAPublicKey , RSAPublicKey sample code for java.security.interfaces.RSAPublicKey definition code for java.security.interfaces.RSAPublicKey

Field Summary
static long serialVersionUID sample code for java.security.PublicKey.serialVersionUID definition code for java.security.PublicKey.serialVersionUID
          The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
 
Method Summary
 
Methods inherited from interface java.security.Key sample code for java.security.Key definition code for java.security.Key
getAlgorithm sample code for java.security.Key.getAlgorithm() definition code for java.security.Key.getAlgorithm() , getEncoded sample code for java.security.Key.getEncoded() definition code for java.security.Key.getEncoded() , getFormat sample code for java.security.Key.getFormat() definition code for java.security.Key.getFormat()
 

Field Detail

serialVersionUID sample code for java.security.PublicKey.serialVersionUID

static final long serialVersionUID
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

See Also:
Constant Field Values