Name

PBEParameterSpec

Synopsis

This class is a transparent representation of the parameters used with the password-based encryption algorithm defined by PKCS#5.

javax.crypto.spec.PBEParameterSpec

Figure 17-24. javax.crypto.spec.PBEParameterSpec

public class PBEParameterSpec implements java.security.spec.AlgorithmParameterSpec {
// Public Constructors
     public PBEParameterSpec(byte[ ] salt, int iterationCount);  
// Public Instance Methods
     public int getIterationCount( );  
     public byte[ ] getSalt( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.