com.ibm.crypto.fips.provider
Class AESParameters
java.lang.Object
|
+--java.security.AlgorithmParametersSpi
|
+--com.ibm.crypto.fips.provider.AESParameters
- All Implemented Interfaces:
- AlgorithmStatus
- public final class AESParameters
- extends java.security.AlgorithmParametersSpi
- implements AlgorithmStatus
This class implements the parameter (IV) used with the AES algorithm in
feedback-mode. IV is defined in the standards as follows:
IV ::= OCTET STRING -- 16 octets
- Version:
- 1.0, 11/26/01
- Author:
- Paschalis Kaltsatis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AESParameters
public AESParameters()
isFipsApproved
public boolean isFipsApproved()
- Description copied from interface:
AlgorithmStatus
- Module identifies if the cryptographic operation (algorithm) is FIPS certified
- Specified by:
isFipsApproved
in interface AlgorithmStatus
- See Also:
AlgorithmStatus.isFipsApproved()
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
throws java.security.spec.InvalidParameterSpecException
- Overrides:
engineInit
in class java.security.AlgorithmParametersSpi
- Throws:
FIPSRuntimeException
- if SelfTest.isFipsRunnable returns false.
internalInit
protected void internalInit(java.security.spec.AlgorithmParameterSpec paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineInit
protected void engineInit(byte[] encoded)
throws java.io.IOException
- Overrides:
engineInit
in class java.security.AlgorithmParametersSpi
- Throws:
FIPSRuntimeException
- if SelfTest.isFipsRunnable returns false.
internalInit
protected void internalInit(byte[] encoded)
throws java.io.IOException
engineInit
protected void engineInit(byte[] encoded,
java.lang.String decodingMethod)
throws java.io.IOException
- Overrides:
engineInit
in class java.security.AlgorithmParametersSpi
- Throws:
FIPSRuntimeException
- if SelfTest.isFipsRunnable returns false.
internalInit
protected void internalInit(byte[] encoded,
java.lang.String decodingMethod)
throws java.io.IOException
engineGetParameterSpec
protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec)
throws java.security.spec.InvalidParameterSpecException
- Overrides:
engineGetParameterSpec
in class java.security.AlgorithmParametersSpi
- Throws:
FIPSRuntimeException
- if SelfTest.isFipsRunnable returns false.
internalGetParameterSpec
protected java.security.spec.AlgorithmParameterSpec internalGetParameterSpec(java.lang.Class paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineGetEncoded
protected byte[] engineGetEncoded()
throws java.io.IOException
- Overrides:
engineGetEncoded
in class java.security.AlgorithmParametersSpi
- Throws:
FIPSRuntimeException
- if SelfTest.isFipsRunnable returns false.
internalGetEncoded
protected byte[] internalGetEncoded()
throws java.io.IOException
engineGetEncoded
protected byte[] engineGetEncoded(java.lang.String encodingMethod)
throws java.io.IOException
- Overrides:
engineGetEncoded
in class java.security.AlgorithmParametersSpi
- Throws:
FIPSRuntimeException
- if SelfTest.isFipsRunnable returns false.
internalGetEncoded
protected byte[] internalGetEncoded(java.lang.String encodingMethod)
throws java.io.IOException
engineToString
protected java.lang.String engineToString()
- Overrides:
engineToString
in class java.security.AlgorithmParametersSpi
- Throws:
FIPSRuntimeException
- if SelfTest.isFipsRunnable returns false.
internalToString
protected java.lang.String internalToString()