PBEKey


PBEKey javax.crypto.interfaces

Java 1.4 serializable

This interface represents a key for password-based encryption. If you are working with a SecretKey that you know is a password-based key, you can cast it to a PBEKey .

Figure 17-14. javax.crypto.interfaces.PBEKey

 public interface  PBEKey  extends javax.crypto.SecretKey {  // Public Constants   5.0  public static final long  serialVersionUID  ;  =-1430015993304333921   // Public Instance Methods  int  getIterationCount  ( );        char[ ]  getPassword  ( );        byte[ ]  getSalt  ( );   } 



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