Interface ZeroizableSecretKey
- All Superinterfaces:
Destroyable, Key, SecretKey, Serializable
Interface for SecretKey's that can be explictly zeroized.
As this makes the key mutable, at the moment it only applies to MAC keys associated with key agreement schemes.
-
Field Summary
Fields inherited from interface SecretKey
serialVersionUID -
Method Summary
Methods inherited from interface Destroyable
destroy, isDestroyedMethods inherited from interface Key
getAlgorithm, getEncoded, getFormat
-
Method Details
-
zeroize
void zeroize()Proactively zero out the key bytes.
-