Java In A Nutshell, 5th Edition

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

Категории