com.ibm.crypto.fips.provider
Class GCMParameters
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- com.ibm.crypto.fips.provider.GCMParameters
-
- All Implemented Interfaces:
- AESConstants, GCMConstants
public final class GCMParameters extends java.security.AlgorithmParametersSpi implements AESConstants, GCMConstants
-
-
Field Summary
-
Fields inherited from interface com.ibm.crypto.fips.provider.AESConstants
AES_BLOCK_SIZE, AES_KEYSIZES
-
Fields inherited from interface com.ibm.crypto.fips.provider.GCMConstants
DEFAULT_TAG_LENGTH, GCM_TAG_LENGTHS, GENERATED_IV_COUNTER_FIELD_LENGTH, GENERATED_IV_DEVICE_FIELD_LENGTH, GENERATED_IV_MAX_INVOCATIONS, GENERATED_IV_TOTAL_LENGTH
-
-
Constructor Summary
Constructors Constructor and Description GCMParameters()
-
Method Summary
Methods Modifier and Type Method and Description protected byte[]engineGetEncoded()protected byte[]engineGetEncoded(java.lang.String format)protected java.security.spec.AlgorithmParameterSpecengineGetParameterSpec(java.lang.Class paramSpec)protected voidengineInit(java.security.spec.AlgorithmParameterSpec paramSpec)protected voidengineInit(byte[] encoded)protected voidengineInit(byte[] encoded, java.lang.String decodingMethod)protected java.lang.StringengineToString()protected byte[]internalGetEncoded()protected byte[]internalGetEncoded(java.lang.String format)protected java.security.spec.AlgorithmParameterSpecinternalGetParameterSpec(java.lang.Class paramSpec)protected voidinternalInit(java.security.spec.AlgorithmParameterSpec paramSpec)protected voidinternalInit(byte[] encoded)protected voidinternalInit(byte[] encoded, java.lang.String decodingMethod)protected java.lang.StringinternalToString()
-
-
-
Method Detail
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) throws java.security.spec.InvalidParameterSpecException- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Throws:
java.security.spec.InvalidParameterSpecException
-
internalInit
protected void internalInit(java.security.spec.AlgorithmParameterSpec paramSpec) throws java.security.spec.InvalidParameterSpecException- Throws:
java.security.spec.InvalidParameterSpecException
-
engineInit
protected void engineInit(byte[] encoded) throws java.io.IOException- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
internalInit
protected void internalInit(byte[] encoded) throws java.io.IOException- Throws:
java.io.IOException
-
engineInit
protected void engineInit(byte[] encoded, java.lang.String decodingMethod) throws java.io.IOException- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
internalInit
protected void internalInit(byte[] encoded, java.lang.String decodingMethod) throws java.io.IOException- Throws:
java.io.IOException
-
engineGetParameterSpec
protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec) throws java.security.spec.InvalidParameterSpecException- Specified by:
engineGetParameterSpecin classjava.security.AlgorithmParametersSpi- Throws:
java.security.spec.InvalidParameterSpecException
-
internalGetParameterSpec
protected java.security.spec.AlgorithmParameterSpec internalGetParameterSpec(java.lang.Class paramSpec) throws java.security.spec.InvalidParameterSpecException- Throws:
java.security.spec.InvalidParameterSpecException
-
engineGetEncoded
protected byte[] engineGetEncoded() throws java.io.IOException- Specified by:
engineGetEncodedin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
internalGetEncoded
protected byte[] internalGetEncoded() throws java.io.IOException- Throws:
java.io.IOException
-
engineGetEncoded
protected byte[] engineGetEncoded(java.lang.String format) throws java.io.IOException- Specified by:
engineGetEncodedin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
internalGetEncoded
protected byte[] internalGetEncoded(java.lang.String format) throws java.io.IOException- Throws:
java.io.IOException
-
engineToString
protected java.lang.String engineToString()
- Specified by:
engineToStringin classjava.security.AlgorithmParametersSpi
-
internalToString
protected java.lang.String internalToString()
-
-