Clears the password.
Throws: - DestroyFailedException - if this method was unable
to clear the password
publicsynchronized char
getPassword
()
Gets the password.
Gets the password.
Note that this method returns a reference to the password.
If a clone of the array is created it is the caller's
responsibility to zero out the password information
after it is no longer needed.
Returns:
the password, which may be null Throws: - IllegalStateException - if the password has
been cleared (destroyed)
See Also:KeyStore.PasswordProtection.destroy(),
publicsynchronized boolean
isDestroyed
()
[Specified in Destroyable]
Determines if password has been cleared.
Determines if password has been cleared.
Returns:
true if the password has been cleared, false otherwise