Package org.bouncycastle.jcajce
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 javax.crypto.SecretKey
serialVersionUID
-
Method Summary
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
Method Details
-
zeroize
void zeroize()Proactively zero out the key bytes.
-