March 2005
Beginner to intermediate
1254 pages
104h 21m
English
KeyStore.PasswordProtection
This
class
is a KeyStore.ProtectionParameter implementation
that wraps a
password specified as a
char[ ]. Note that getPassword(
)
returns a reference to the internal array, not a clone of it. The
destroy( )
method zeros out this array.
public static class KeyStore.PasswordProtection implements javax.security.auth.Destroyable, KeyStore.ProtectionParameter { // Public Constructors public PasswordProtection(char[ ] password); // Public Instance Methods public char[ ] getPassword( ); synchronized // Methods Implementing Destroyable public void destroy( ) throws javax.security.auth.DestroyFailedException; synchronized public boolean isDestroyed( ); synchronized }
Read now
Unlock full access