com.ibm.crypto.provider
Class PBEParameters

java.lang.Object
  extended byjava.security.AlgorithmParametersSpi
      extended bycom.ibm.crypto.provider.PBEParameters

public final class PBEParameters
extends AlgorithmParametersSpi

This class implements the parameter set used with password-based encryption, which is defined in PKCS#5 as follows:

 PBEParameter ::=  SEQUENCE {
     salt   OCTET STRING SIZE(8),
     iterationCount   INTEGER }
 


Constructor Summary
PBEParameters()
           
 
Method Summary
protected  byte[] engineGetEncoded()
           
protected  byte[] engineGetEncoded(String encodingMethod)
           
protected  AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec)
           
protected  void engineInit(AlgorithmParameterSpec paramSpec)
           
protected  void engineInit(byte[] encoded)
           
protected  void engineInit(byte[] encoded, String decodingMethod)
           
protected  String engineToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBEParameters

public PBEParameters()
Method Detail

engineInit

protected void engineInit(AlgorithmParameterSpec paramSpec)
                   throws InvalidParameterSpecException
Throws:
InvalidParameterSpecException

engineInit

protected void engineInit(byte[] encoded)
                   throws IOException
Throws:
IOException

engineInit

protected void engineInit(byte[] encoded,
                          String decodingMethod)
                   throws IOException
Throws:
IOException

engineGetParameterSpec

protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec)
                                                 throws InvalidParameterSpecException
Throws:
InvalidParameterSpecException

engineGetEncoded

protected byte[] engineGetEncoded()
                           throws IOException
Throws:
IOException

engineGetEncoded

protected byte[] engineGetEncoded(String encodingMethod)
                           throws IOException
Throws:
IOException

engineToString

protected String engineToString()