public class NativeMacSpi extends AbstractMacSpi
| Modifier and Type | Field and Description |
|---|---|
static int |
ALGORITHM_DESCRIPTION_SIZE |
| Constructor and Description |
|---|
NativeMacSpi(int nativeAlgorithmId,
int macLength) |
| Modifier and Type | Method and Description |
|---|---|
static void |
nativeClose(int nativeAlgorithmId,
int nativeId) |
static int |
nativeGetAlgorithmDescription(byte[] algorithm,
byte[] description)
Gets for the given algorithm the message digest description.
|
engineDoFinal, engineGetMacLength, engineInit, engineReset, engineUpdate, engineUpdatepublic NativeMacSpi(int nativeAlgorithmId,
int macLength)
macLength - public static void nativeClose(int nativeAlgorithmId,
int nativeId)
throws NativeException
nativeAlgorithmId - nativeId - NativeException - on errorpublic static int nativeGetAlgorithmDescription(byte[] algorithm,
byte[] description)
description must be filled-in with:
algorithm - Null terminated string that describes the algorithm