javax.security.auth.Destroyable |
Known Indirect Subclasses |
Allows for special treatment of sensitive information, when it comes to destroying or clearing of the data.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Erases the sensitive information.
|
||||||||||
|
Returns
true
once an object has been safely destroyed.
|
Erases the sensitive information. Once an object is destroyed any calls
to its methods will throw an
IllegalStateException
. If it does
not succeed a DestroyFailedException is thrown.
DestroyFailedException | if the information cannot be erased. |
---|
Returns
true
once an object has been safely destroyed.