|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the SSH messase authentication methods
Method Summary | |
byte[] |
generate(long sequenceNo,
byte[] data,
int offset,
int len)
Called to generate a mac |
int |
getMacLength()
Gets the mac length |
void |
init(byte[] keydata)
Called by the framework to initialize the mac |
boolean |
verify(long sequenceNo,
byte[] data)
Called to verify a mac |
Method Detail |
public void init(byte[] keydata) throws AlgorithmInitializationException
keydata
- Key data produced during key
exchange
AlgorithmInitializationException
- Throw if an initialization
exceptionpublic byte[] generate(long sequenceNo, byte[] data, int offset, int len)
sequenceNo
- The sequence no of the messagedata
- The message dataoffset
- Description of the Parameterlen
- Description of the Parameter
public boolean verify(long sequenceNo, byte[] data)
sequenceNo
- The sequence no of the messagedata
- The message data
public int getMacLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |