de.flexiprovider.core.pbe.interfaces
Class PBEParameters

java.lang.Object
  |
  +--java.security.AlgorithmParametersSpi
        |
        +--de.flexiprovider.api.parameters.AlgorithmParameters
              |
              +--de.flexiprovider.core.pbe.interfaces.PBEParameters
Direct Known Subclasses:
PBEParameters

public abstract class PBEParameters
extends AlgorithmParameters

Translation layer between PBEParameterSpec and PBEParameterSpec.

Author:
Martin Döring

Constructor Summary
PBEParameters()
           
 
Method Summary
protected  java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec)
          Translation method between PBEParameterSpec and PBEParameterSpec: return a (transparent) specification of this parameters object.
protected  void engineInit(java.security.spec.AlgorithmParameterSpec params)
          Translation method between PBEParameterSpec and PBEParameterSpec: initialize this parameters object using the parameters specified in paramSpec.
 
Methods inherited from class de.flexiprovider.api.parameters.AlgorithmParameters
engineGetEncoded, engineGetEncoded, engineInit, engineInit, engineToString, getEncoded, getEncoded, getParameterSpec, init, init, init, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PBEParameters

public PBEParameters()
Method Detail

engineInit

protected final void engineInit(java.security.spec.AlgorithmParameterSpec params)
                         throws java.security.spec.InvalidParameterSpecException
Translation method between PBEParameterSpec and PBEParameterSpec: initialize this parameters object using the parameters specified in paramSpec.
Overrides:
engineInit in class AlgorithmParameters
Parameters:
params - the parameter specification
Throws:
java.security.spec.InvalidParameterSpecException - if paramSpec is inappropriate for initialization.

engineGetParameterSpec

protected final java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec)
                                                                          throws java.security.spec.InvalidParameterSpecException
Translation method between PBEParameterSpec and PBEParameterSpec: return a (transparent) specification of this parameters object. paramSpec identifies the specification class in which the parameters should be returned. It could, for example, be DSAParameterSpec.class , to indicate that the parameters should be returned in an instance of the DSAParameterSpec class.
Overrides:
engineGetParameterSpec in class AlgorithmParameters
Parameters:
paramSpec - the the specification class in which the parameters should be returned
Returns:
the parameter specification
Throws:
java.security.spec.InvalidParameterSpecException - if the requested parameter specification is inappropriate for this parameter object.