KeyStore.PasswordProtection


KeyStore.PasswordProtection java.security

Java 5.0

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  } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net