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.AlgorithmParameterSpec
engineGetParameterSpec(java.lang.Class paramSpec)
protected void
engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
protected void
engineInit(byte[] encoded)
protected void
engineInit(byte[] encoded, java.lang.String decodingMethod)
protected java.lang.String
engineToString()
protected byte[]
internalGetEncoded()
protected byte[]
internalGetEncoded(java.lang.String format)
protected java.security.spec.AlgorithmParameterSpec
internalGetParameterSpec(java.lang.Class paramSpec)
protected void
internalInit(java.security.spec.AlgorithmParameterSpec paramSpec)
protected void
internalInit(byte[] encoded)
protected void
internalInit(byte[] encoded, java.lang.String decodingMethod)
protected java.lang.String
internalToString()
-
-
-
Method Detail
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) throws java.security.spec.InvalidParameterSpecException
- Specified by:
engineInit
in 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:
engineInit
in 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:
engineInit
in 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:
engineGetParameterSpec
in 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:
engineGetEncoded
in 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:
engineGetEncoded
in 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:
engineToString
in classjava.security.AlgorithmParametersSpi
-
internalToString
protected java.lang.String internalToString()
-
-