com.ibm.crypto.provider
Class DESedeParameters

java.lang.Object
  extended by java.security.AlgorithmParametersSpi
      extended by com.ibm.crypto.provider.DESedeParameters

public final class DESedeParameters
extends AlgorithmParametersSpi

This class implements the parameter (IV) used with the Triple DES algorithm in feedback-mode. IV is defined in the standards as follows:

 IV ::= OCTET STRING  -- 8 octets
 


Constructor Summary
DESedeParameters()
           
 
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

DESedeParameters

public DESedeParameters()
Method Detail

engineInit

protected void engineInit(AlgorithmParameterSpec paramSpec)
                   throws InvalidParameterSpecException
Specified by:
engineInit in class AlgorithmParametersSpi
Throws:
InvalidParameterSpecException

engineInit

protected void engineInit(byte[] encoded)
                   throws IOException
Specified by:
engineInit in class AlgorithmParametersSpi
Throws:
IOException

engineInit

protected void engineInit(byte[] encoded,
                          String decodingMethod)
                   throws IOException
Specified by:
engineInit in class AlgorithmParametersSpi
Throws:
IOException

engineGetParameterSpec

protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec)
                                                 throws InvalidParameterSpecException
Specified by:
engineGetParameterSpec in class AlgorithmParametersSpi
Throws:
InvalidParameterSpecException

engineGetEncoded

protected byte[] engineGetEncoded()
                           throws IOException
Specified by:
engineGetEncoded in class AlgorithmParametersSpi
Throws:
IOException

engineGetEncoded

protected byte[] engineGetEncoded(String encodingMethod)
                           throws IOException
Specified by:
engineGetEncoded in class AlgorithmParametersSpi
Throws:
IOException

engineToString

protected String engineToString()
Specified by:
engineToString in class AlgorithmParametersSpi