com.ibm.crypto.fips.provider

Class DESedeParameters

  1. java.lang.Object
  2. extended byjava.security.AlgorithmParametersSpi
  3. extended bycom.ibm.crypto.fips.provider.DESedeParameters
All implemented interfaces:
AlgorithmStatus

  1. public final class DESedeParameters
  2. extends java.security.AlgorithmParametersSpi
  3. implements AlgorithmStatus
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
 
Version:
1.4, 11/08/99
Author:
Jan Luehe

Constructor Summary

Constructor and Description
DESedeParameters()

Method Summary

Modifier and Type Method and Description
  1. protected
  2. byte[]
engineGetEncoded()
  1. protected
  2. byte[]
engineGetEncoded(java.lang.String encodingMethod)
  1. protected
  2. java.security.spec.AlgorithmParameterSpec
engineGetParameterSpec(java.lang.Class paramSpec)
  1. protected
  2. void
engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
  1. protected
  2. void
engineInit(byte[] encoded)
  1. protected
  2. void
engineInit(byte[] encoded,java.lang.String decodingMethod)
  1. protected
  2. java.lang.String
engineToString()
  1. protected
  2. byte[]
internalGetEncoded()
  1. protected
  2. byte[]
internalGetEncoded(java.lang.String encodingMethod)
  1. protected
  2. java.security.spec.AlgorithmParameterSpec
internalGetParameterSpec(java.lang.Class paramSpec)
  1. protected
  2. void
internalInit(java.security.spec.AlgorithmParameterSpec paramSpec)
  1. protected
  2. void
internalInit(byte[] encoded)
  1. protected
  2. void
internalInit(byte[] encoded,java.lang.String decodingMethod)
  1. protected
  2. java.lang.String
internalToString()
  1. boolean
isFipsApproved()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DESedeParameters

  1. public DESedeParameters()

Method Detail

isFipsApproved

  1. public boolean isFipsApproved()
Description copied from interface: AlgorithmStatus
Module identifies if the cryptographic operation (algorithm) is FIPS certified
Specified by:
See Also:

engineInit

  1. protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
  2. throws java.security.spec.InvalidParameterSpecException
Specified by:
engineInit in class java.security.AlgorithmParametersSpi
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.
java.security.spec.InvalidParameterSpecException

internalInit

  1. protected void internalInit(java.security.spec.AlgorithmParameterSpec paramSpec)
  2. throws java.security.spec.InvalidParameterSpecException
Throws:
java.security.spec.InvalidParameterSpecException

engineInit

  1. protected void engineInit(byte[] encoded)
  2. throws java.io.IOException
Specified by:
engineInit in class java.security.AlgorithmParametersSpi
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.
java.io.IOException

internalInit

  1. protected void internalInit(byte[] encoded)
  2. throws java.io.IOException
Throws:
java.io.IOException

engineInit

  1. protected void engineInit(byte[] encoded,
  2. java.lang.String decodingMethod)
  3. throws java.io.IOException
Specified by:
engineInit in class java.security.AlgorithmParametersSpi
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.
java.io.IOException

internalInit

  1. protected void internalInit(byte[] encoded,
  2. java.lang.String decodingMethod)
  3. throws java.io.IOException
Throws:
java.io.IOException

engineGetParameterSpec

  1. protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec( java.lang.Class paramSpec)
  2. throws java.security.spec.InvalidParameterSpecException
Specified by:
engineGetParameterSpec in class java.security.AlgorithmParametersSpi
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.
java.security.spec.InvalidParameterSpecException

internalGetParameterSpec

  1. protected java.security.spec.AlgorithmParameterSpec internalGetParameterSpec( java.lang.Class paramSpec)
  2. throws java.security.spec.InvalidParameterSpecException
Throws:
java.security.spec.InvalidParameterSpecException

engineGetEncoded

  1. protected byte[] engineGetEncoded( )
  2. throws java.io.IOException
Specified by:
engineGetEncoded in class java.security.AlgorithmParametersSpi
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.
java.io.IOException

internalGetEncoded

  1. protected byte[] internalGetEncoded( )
  2. throws java.io.IOException
Throws:
java.io.IOException

engineGetEncoded

  1. protected byte[] engineGetEncoded( java.lang.String encodingMethod)
  2. throws java.io.IOException
Specified by:
engineGetEncoded in class java.security.AlgorithmParametersSpi
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.
java.io.IOException

internalGetEncoded

  1. protected byte[] internalGetEncoded( java.lang.String encodingMethod)
  2. throws java.io.IOException
Throws:
java.io.IOException

engineToString

  1. protected java.lang.String engineToString( )
Specified by:
engineToString in class java.security.AlgorithmParametersSpi
Throws:
FIPSRuntimeException - if SelfTest.isFipsRunnable returns false.

internalToString

  1. protected java.lang.String internalToString( )