com.sshtools.j2ssh.transport.hmac
Class HmacSha
java.lang.Object
com.sshtools.j2ssh.transport.hmac.HmacSha
- SshHmac
public class HmacSha
extends java.lang.Object
HmacSha() - Creates a new HmacSha object.
|
byte[] | generate(long sequenceNo, byte[] data, int offset, int len)
|
int | getMacLength()
|
void | init(byte[] keydata)
|
boolean | verify(long sequenceNo, byte[] data)
|
HmacSha
public HmacSha()
Creates a new HmacSha object.
generate
public byte[] generate(long sequenceNo,
byte[] data,
int offset,
int len)
- generate in interface SshHmac
sequenceNo
- data
- offset
- len
-
verify
public boolean verify(long sequenceNo,
byte[] data)
- verify in interface SshHmac
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.