Top Description Fields Methods
org.bouncycastle.jcajce

public Interface ZeroizableSecretKey

extends SecretKey
Imports
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.

Field Summary

Inherited from javax.crypto.SecretKey:
serialVersionUID

Method Summary

Modifier and TypeMethod and Description
public void
zeroize()

Proactively zero out the key bytes.

Method Detail

zeroizeback to summary
public void zeroize()

Proactively zero out the key bytes.