public interface IVValidator| Modifier and Type | Method and Description |
|---|---|
boolean | receiveIV(byte[] iv,
int ivOffset,
byte[] payload,
int payloadOffset)receive the IV for the tunnel message, returning true if it is valid,
or false if it has already been used (or is otherwise invalid). |
boolean receiveIV(byte[] iv,
int ivOffset,
byte[] payload,
int payloadOffset)iv - data will not be modifiedivOffset - offset of the IV in the iv arraypayload - will not be modifiedpayloadOffset - offset of the payload in the payload array