public interface Destroyable
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Erases the sensitive information.
|
boolean |
isDestroyed()
Returns
true once an object has been safely destroyed. |
void destroy()
throws DestroyFailedException
IllegalStateException. If it does
not succeed a DestroyFailedException is thrown.DestroyFailedException - if the information cannot be erased.boolean isDestroyed()
true once an object has been safely destroyed.