Constructor and Description |
---|
NoneHmac() |
Modifier and Type | Method and Description |
---|---|
byte[] |
doFinal() |
void |
generate(long sequenceNo,
byte[] data,
int offset,
int len,
byte[] output,
int start) |
String |
getAlgorithm() |
int |
getMacLength() |
void |
init(byte[] keydata) |
void |
update(byte[] b) |
boolean |
verify(long sequenceNo,
byte[] data,
int start,
int len,
byte[] mac,
int offset) |
public int getMacLength()
getMacLength
in interface SshHmac
public void generate(long sequenceNo, byte[] data, int offset, int len, byte[] output, int start)
public void init(byte[] keydata) throws SshException
init
in interface SshHmac
SshException
public boolean verify(long sequenceNo, byte[] data, int start, int len, byte[] mac, int offset)
public String getAlgorithm()
getAlgorithm
in interface SshHmac
Copyright © 2014. All rights reserved.