mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
14 lines
335 B
Java
14 lines
335 B
Java
package net.sf.briar.transport;
|
|
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
|
|
interface PacketDecrypter {
|
|
|
|
/** Returns the input stream from which packets should be read. */
|
|
InputStream getInputStream();
|
|
|
|
/** Reads, decrypts and returns a tag from the underlying input stream. */
|
|
byte[] readTag() throws IOException;
|
|
}
|