Home » openjdk-7 » javax.security » auth » [javadoc | source]
public interface: Destroyable [javadoc | source]

All Known Implementing Classes:
    KerberosKey, KeyImpl, PasswordProtection, KerberosTicket, X500PrivateCredential

Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.
Method from javax.security.auth.Destroyable Summary:
destroy,   isDestroyed
Method from javax.security.auth.Destroyable Detail:
 public  void destroy() throws DestroyFailedException
    Destroy this Object.

    Sensitive information associated with this Object is destroyed or cleared. Subsequent calls to certain methods on this Object will result in an IllegalStateException being thrown.

 public boolean isDestroyed()
    Determine if this Object has been destroyed.