FileDocCategorySizeDatePackage
Destroyable.javaAPI DocAndroid 1.5 API1590Wed May 06 22:41:02 BST 2009javax.security.auth

Destroyable

public interface Destroyable
Allows for special treatment of sensitive information, when it comes to destroying or clearing of the data.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public voiddestroy()
Erases the sensitive information. Once an object is destroyed any calls to its methods will throw an {@code IllegalStateException}. If it does not succeed a DestroyFailedException is thrown.

throws
DestroyFailedException if the information cannot be erased.

public booleanisDestroyed()
Returns {@code true} once an object has been safely destroyed.

return
whether the object has been safely destroyed.