MAC
HMACSHA196
public class HMACSHA1
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.String |
algorithm |
|
protected int |
bsize |
|
protected java.lang.String |
name |
Constructor | Description |
---|---|
HMACSHA1() |
Modifier and Type | Method | Description |
---|---|---|
void |
doFinal(byte[] buf,
int offset) |
|
int |
getBlockSize() |
|
java.lang.String |
getName() |
|
void |
init(byte[] key) |
|
void |
update(byte[] foo,
int s,
int l) |
|
void |
update(int i) |
protected java.lang.String name
protected int bsize
protected java.lang.String algorithm
public int getBlockSize()
getBlockSize
in interface MAC
public void init(byte[] key) throws java.lang.Exception