Known Indirect Subclasses
PBEKey |
The interface to a password-based-encryption key. |
SecretKeySpec |
A key specification for a SecretKey and also a secret key
implementation that is provider-independent. |
|
Class Overview
A cryptographic secret (symmetric) key.
This interface is a marker interface to group secret keys and to
provide type safety for.
Implementations of this interface have to overwrite the
equals
and hashCode
from Object
so comparison is done using the actual key data
and not the object reference.
Summary
[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 serialization version identifier.
Constant Value:
-4795878709595146952
(0xbd719db928b8f538)