com.ibm.crypto.fips.provider
Class JITFullHardwareDigest
- java.lang.Object
-
- com.ibm.crypto.fips.provider.JITFullHardwareDigest
-
public final class JITFullHardwareDigest extends java.lang.Object
-
-
Method Summary
Methods Modifier and Type Method and Description voiddigestFinal(byte[] in, int inputLength, int inputOffset, long totalMessageLength)byte[]getState(byte[] result, int offset, int length)intgetStateSize()voidinit(byte[] IV)static booleanisSupportedByHardware(java.lang.String algorithm)Returns false if hardware does not support the particular algorithm.voidupdate(byte[] in, int inputLength, int inputOffset)
-
-
-
Method Detail
-
digestFinal
public void digestFinal(byte[] in, int inputLength, int inputOffset, long totalMessageLength)
-
update
public void update(byte[] in, int inputLength, int inputOffset)
-
init
public void init(byte[] IV)
-
isSupportedByHardware
public static boolean isSupportedByHardware(java.lang.String algorithm)
Returns false if hardware does not support the particular algorithm.- Parameters:
algorithm- Name of algorithm (i.e. AES)- Returns:
- false if hardware is known not to support this algorithm.
-
getState
public byte[] getState(byte[] result, int offset, int length)
-
getStateSize
public int getStateSize()
-
-