The KeyStore.PasswordProtection class definition is as follows:
public static class KeyStore.PasswordProtection extends Object implements KeyStore.ProtectionParameter, Destroyable
This call provides an implementation of ProtectionParameter that is password-based. The class has the following methods:
- public void destroy() throws DestroyFailedException:
- This method clears the password
- public char[] getPassword():
- Returns a reference to the password
- public boolean isDestroyed():
- Returns true if the password was cleared