Known Indirect Subclasses
DHPrivateKey |
The interface for a private key in the Diffie-Hellman key exchange protocol. |
DSAPrivateKey |
The interface for a Digital Signature Algorithm (DSA) private key. |
ECPrivateKey |
The interface for an Elliptic Curve (EC) private key. |
RSAMultiPrimePrivateCrtKey |
The interface for a Multi-Prime RSA private key. |
RSAPrivateCrtKey |
The interface for a PKCS#1 RSA private key using CRT information values. |
RSAPrivateKey |
The interface for an PKCS#1 RSA private key. |
|
Class Overview
PrivateKey
is the common interface for private 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:
6034044314589513430
(0x53bd3b559a12c6d6)