Known Indirect Subclasses
DHPrivateKey |
The interface to a Diffie-Hellman private key. |
DSAPrivateKey |
The standard interface to a DSA private key. |
ECPrivateKey |
The interface to an elliptic curve (EC) private key. |
ECPrivateKeyImpl |
Key implementation for EC private keys. |
PKCS8Key |
Holds a PKCS#8 key, for example a private key |
RSAMultiPrimePrivateCrtKey |
The interface to an RSA multi-prime private key, as defined in the
PKCS#1 v2.1, using the Chinese Remainder Theorem
(CRT) information values. |
RSAPrivateCrtKey |
The interface to an RSA private key, as defined in the PKCS#1 standard,
using the Chinese Remainder Theorem (CRT) information values. |
RSAPrivateCrtKeyImpl |
Key implementation for RSA private keys, CRT form. |
RSAPrivateKey |
The interface to an RSA private key. |
RSAPrivateKeyImpl |
Key implementation for RSA private keys, non-CRT form (modulus, private
exponent only). |
|
Class Overview
A private key. This interface contains no methods or constants.
It merely serves to group (and provide type safety for) all private key
interfaces.
Note: The specialized private key interfaces extend this interface.
See, for example, the DSAPrivateKey interface in
java.security.interfaces
.
Summary
Constants |
long |
serialVersionUID |
The class fingerprint that is set to indicate serialization
compatibility with a previous version of the class. |
[Expand]
Inherited Methods |
From interface
java.security.Key
abstract
String
|
getAlgorithm()
Returns the standard algorithm name for this key.
|
abstract
byte[]
|
getEncoded()
Returns the key in its primary encoding format, or null
if this key does not support encoding.
|
abstract
String
|
getFormat()
Returns the name of the primary encoding format of this key,
or null if this key does not support encoding.
|
|
Constants
public
static
final
long
serialVersionUID
The class fingerprint that is set to indicate serialization
compatibility with a previous version of the class.
Constant Value:
6034044314589513430
(0x53bd3b559a12c6d6)