Team LiB
Previous Section Next Section

PBEKeyjavax.crypto.interfaces

Java 1.4serializable

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( );  
}

    Team LiB
    Previous Section Next Section