Note
The specialized private key interfaces extend this interface.
See, for example, the DSAPrivateKey
interface in
java.
.
Implementations should override the default destroy
and
isDestroyed
methods from the
javax.
interface to enable
sensitive key information to be destroyed, cleared, or in the case
where such information is immutable, unreferenced.
Finally, since PrivateKey
is Serializable
, implementations
should also override
java.
to prevent keys that have been destroyed from being serialized.
Key
, PublicKey
, java.security.cert.Certificate
, Signature#initVerify
, java.security.interfaces.DSAPrivateKey
, java.security.interfaces.RSAPrivateKey
, java.security.interfaces.RSAPrivateCrtKey
Modifier and Type | Field and Description |
---|---|
public static final long | serialVersionUID
Hides java.
Deprecated
A The class fingerprint that is set to indicate serialization
compatibility with a previous version of the class.
serialVersionUID field in an interface is
ineffectual. Do not use; no replacement.
|
serialVersionUID | back to summary |
---|---|
public static final long serialVersionUID Hides java. Deprecated A The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
|