RemoteWipeManager builds messages using the message encoder

This commit is contained in:
ameba23
2021-05-06 17:48:56 +02:00
parent fe79a18061
commit a93cbf852b
7 changed files with 175 additions and 8 deletions

View File

@@ -1,4 +1,7 @@
package org.briarproject.briar.api.remotewipe;
public interface MessageEncoder {
byte[] encodeSetupMessage();
byte[] encodeWipeMessage();
}

View File

@@ -1,4 +1,10 @@
package org.briarproject.briar.api.remotewipe;
import org.briarproject.bramble.api.FormatException;
import org.briarproject.bramble.api.data.BdfList;
public interface MessageParser {
void parseSetupMessage(BdfList body) throws FormatException;
void parseWipeMessage(BdfList body) throws FormatException;
}