net.i2p.router.tunnel
Interface IVValidator

All Known Implementing Classes:
BloomFilterIVValidator, DummyValidator, HashSetIVValidator

public interface IVValidator

Provide a generic interface for IV validation which may be implemented through something as simple as a hashtable or more a complicated bloom filter.


Method Summary
 boolean receiveIV(byte[] iv)
          receive the IV for the tunnel, returning true if it is valid, or false if it has already been used (or is otherwise invalid).
 

Method Detail

receiveIV

public boolean receiveIV(byte[] iv)
receive the IV for the tunnel, returning true if it is valid, or false if it has already been used (or is otherwise invalid).