de.flexiprovider.core.pbe
Class PBEParameterSpec

java.lang.Object
  |
  +--javax.crypto.spec.PBEParameterSpec
        |
        +--de.flexiprovider.core.pbe.PBEParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec
Direct Known Subclasses:
PBKDF1_PKCS12ParameterSpec

public class PBEParameterSpec
extends javax.crypto.spec.PBEParameterSpec
implements AlgorithmParameterSpec

This class provides a specification for the parameters used by the PBKDF1 key derivation function specified in PKCS #5 v2.0.


Constructor Summary
PBEParameterSpec()
          Construct the PBE default parameters.
PBEParameterSpec(byte[] salt, int iterationCount)
          Construct new PBE parameters using the given salt and iteration count.
PBEParameterSpec(javax.crypto.spec.PBEParameterSpec paramSpec)
          Construct new PBKDF1 parameters from of the given PBEParameterSpec.
 
Methods inherited from class javax.crypto.spec.PBEParameterSpec
getIterationCount, getSalt
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBEParameterSpec

public PBEParameterSpec(javax.crypto.spec.PBEParameterSpec paramSpec)
Construct new PBKDF1 parameters from of the given PBEParameterSpec.
Parameters:
paramSpec - the PBEParameterSpec

PBEParameterSpec

public PBEParameterSpec()
Construct the PBE default parameters.

PBEParameterSpec

public PBEParameterSpec(byte[] salt,
                        int iterationCount)
Construct new PBE parameters using the given salt and iteration count.
Parameters:
salt - the salt
iterationCount - the iteration count