Known Indirect Subclasses
Allows for special treatment of sensitive information, when it comes to destroying or clearing of the data.
Erases the sensitive information.
void destroy ()
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.
||if the information cannot be erased.|
boolean isDestroyed ()
true once an object has been safely destroyed.
||whether the object has been safely destroyed.|