public class NativeMessageDigestSpi extends AbstractMessageDigestSpi
| Modifier and Type | Field and Description |
|---|---|
static int |
ALGORITHM_DESCRIPTION_SIZE |
| Constructor and Description |
|---|
NativeMessageDigestSpi(int nativeAlgorithmId,
int digestLength) |
| 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.
|
engineDigest, engineDigest, engineGetDigestLength, engineReset, engineUpdate, engineUpdateclonepublic NativeMessageDigestSpi(int nativeAlgorithmId,
int digestLength)
nativeAlgorithmId - 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