JCE Provider
Loading...
Searching...
No Matches
Static Public Attributes | Protected Member Functions | List of all members
CryptoServerMac Class Reference

CryptoServerMac. More...

Inherits MacSpi.

Static Public Attributes

static final int MECH_CHAIN_CBC = 0x00100000
 
static final int MECH_MODE_HMAC = 0x01000000
 Calculate HMAC.
 
static final int MECH_HASH_ALGO_SHA1 = 0x00000010
 SHA1 hash algorithm.
 
static final int MECH_HASH_ALGO_RMD160 = 0x00000020
 RipeMD160 hash algorithm.
 
static final int MECH_HASH_ALGO_SHA224 = 0x00000030
 SHA224 hash algorithm.
 
static final int MECH_HASH_ALGO_SHA256 = 0x00000040
 SHA256 hash algorithm.
 
static final int MECH_HASH_ALGO_MD5 = 0x00000050
 MD5 hash algorithm.
 
static final int MECH_HASH_ALGO_SHA384 = 0x00000060
 SHA384 hash algorithm.
 
static final int MECH_HASH_ALGO_SHA512 = 0x00000070
 SHA512 hash algorithm.
 
static final int MECH_HASH_ALGO_SHA3_224 = 0x00000080
 SHA3-224 hash algorithm.
 
static final int MECH_HASH_ALGO_SHA3_256 = 0x00000090
 SHA3-256 hash algorithm.
 
static final int MECH_HASH_ALGO_SHA3_384 = 0x000000A0
 SHA3-384 hash algorithm.
 
static final int MECH_HASH_ALGO_SHA3_512 = 0x000000B0
 SHA3-512 hash algorithm.
 

Protected Member Functions

int engineGetMacLength ()
 
void engineInit (Key inkey, AlgorithmParameterSpec param) throws InvalidKeyException, InvalidAlgorithmParameterException
 
void engineReset ()
 
void engineUpdate (byte[] input, int inputOffset, int inputLen)
 
void engineUpdate (byte input)
 
byte[] engineDoFinal ()
 

Detailed Description

CryptoServerMac.