Constructor and Description |
---|
HmacSha()
Creates a new HmacSha object.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
generate(long sequenceNo,
byte[] data,
int offset,
int len) |
int |
getMacLength() |
void |
init(byte[] keydata) |
boolean |
verify(long sequenceNo,
byte[] data) |
public int getMacLength()
getMacLength
in interface SshHmac
public byte[] generate(long sequenceNo, byte[] data, int offset, int len)
public void init(byte[] keydata) throws AlgorithmInitializationException
init
in interface SshHmac
keydata
- AlgorithmInitializationException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.