Known Indirect Subclasses
DHPublicKey |
The interface for a public key in the Diffie-Hellman key exchange protocol. |
DSAPublicKey |
The interface for a Digital Signature Algorithm (DSA) public key. |
ECPublicKey |
The interface for an Elliptic Curve (EC) public key. |
RSAPublicKey |
The interface for a PKCS#1 RSA public key. |
|
Class Overview
PublicKey
is the common interface for public keys.
Summary
Constants |
long |
serialVersionUID |
The serialVersionUID to be compatible with JDK1.1. |
[Expand]
Inherited Methods |
From interface java.security.Key
abstract
String
|
getAlgorithm()
Returns the name of the algorithm of this key.
|
abstract
byte[]
|
getEncoded()
Returns the encoded form of this key, or null if encoding is not
supported by this key.
|
abstract
String
|
getFormat()
Returns the name of the format used to encode this key, or null
if it can not be encoded.
|
|
Constants
public
static
final
long
serialVersionUID
The serialVersionUID
to be compatible with JDK1.1.
Constant Value:
7187392471159151072
(0x63bebf5f40c219e0)