mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
The initiator flag in the transport protocol makes this unnecessary by linking the two sides of a stream-mode connection, making it impossible for an attacker to replay the responder's side of a different connection.
11 lines
173 B
Java
11 lines
173 B
Java
package net.sf.briar.protocol;
|
|
|
|
import java.util.BitSet;
|
|
|
|
import net.sf.briar.api.protocol.Request;
|
|
|
|
interface RequestFactory {
|
|
|
|
Request createRequest(BitSet requested);
|
|
}
|