Package org.bouncycastle.jcajce
Interface ZeroizableSecretKey
-
- All Superinterfaces:
javax.security.auth.Destroyable
,java.security.Key
,javax.crypto.SecretKey
,java.io.Serializable
public interface ZeroizableSecretKey extends javax.crypto.SecretKey
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
zeroize()
Proactively zero out the key bytes.
-