src/share/classes/java/security/KeyStore.java
Print this page
@@ -30,10 +30,11 @@
import java.security.cert.X509Certificate;
import java.security.cert.CertificateException;
import java.util.*;
import javax.crypto.SecretKey;
+import javax.security.auth.DestroyFailedException;
import javax.security.auth.callback.*;
/**
* This class represents a storage facility for cryptographic
* keys and certificates.
@@ -276,12 +277,11 @@
* Clears the password.
*
* @exception DestroyFailedException if this method was unable
* to clear the password
*/
- public synchronized void destroy()
- throws javax.security.auth.DestroyFailedException {
+ public synchronized void destroy() throws DestroyFailedException {
destroyed = true;
if (password != null) {
Arrays.fill(password, ' ');
}
}