mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 12:19:54 +01:00
PacketWriterFactory.
This commit is contained in:
12
api/net/sf/briar/api/transport/PacketWriterFactory.java
Normal file
12
api/net/sf/briar/api/transport/PacketWriterFactory.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package net.sf.briar.api.transport;
|
||||
|
||||
import java.io.OutputStream;
|
||||
|
||||
import javax.crypto.SecretKey;
|
||||
|
||||
public interface PacketWriterFactory {
|
||||
|
||||
PacketWriter createPacketWriter(OutputStream out, int transportIdentifier,
|
||||
long connectionNumber, SecretKey macKey, SecretKey tagKey,
|
||||
SecretKey packetKey);
|
||||
}
|
||||
Reference in New Issue
Block a user