DHPrivateKey, DSAPrivateKey, ECPrivateKey, PBEKey, PrivateKey, RSAMultiPrimePrivateCrtKey, RSAPrivateCrtKey, RSAPrivateKey, SecretKeyEncryptionKey, KerberosCredMessage, KerberosKey, KerberosTicket, KeyStore.PasswordProtection, SecretKeySpec, X500PrivateCredentialpublic interface Destroyable
Subject| Modifier and Type | Method | Description |
|---|---|---|
default void |
destroy() |
Destroy this
Object. |
default boolean |
isDestroyed() |
Determine if this
Object has been destroyed. |
default void destroy()
throws DestroyFailedException
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.
DestroyFailedException.DestroyFailedException - if the destroy operation fails.SecurityException - if the caller does not have permission
to destroy this Object.default boolean isDestroyed()
Object has been destroyed.Object has been destroyed,
false otherwise. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1