The PasswordProtection class

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. This 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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset