public interface SshHmac extends SshComponent, SecureComponent
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()
The length of the message digest output by this implementation (maybe lower than mac size);
|
int |
getMacSize()
The size of the message digest output by the hmac algorithm
|
void |
init(byte[] keydata) |
boolean |
isETM() |
void |
update(byte[] b) |
boolean |
verify(long sequenceNo,
byte[] data,
int start,
int len,
byte[] mac,
int offset) |
getPriority, getSecurityLevel
int getMacSize()
int getMacLength()
void generate(long sequenceNo, byte[] data, int offset, int len, byte[] output, int start)
void init(byte[] keydata) throws SshException
SshException
boolean verify(long sequenceNo, byte[] data, int start, int len, byte[] mac, int offset)
void update(byte[] b)
byte[] doFinal()
String getAlgorithm()
getAlgorithm
in interface SecureComponent
getAlgorithm
in interface SshComponent
boolean isETM()
Copyright © 2024. All rights reserved.