mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 12:19:54 +01:00
Add CONFIRM remote wipe message type
This commit is contained in:
@@ -6,4 +6,6 @@ public interface MessageEncoder {
|
|||||||
byte[] encodeRevokeMessage();
|
byte[] encodeRevokeMessage();
|
||||||
|
|
||||||
byte[] encodeWipeMessage();
|
byte[] encodeWipeMessage();
|
||||||
|
|
||||||
|
byte[] encodeConfirmMessage();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import javax.annotation.concurrent.Immutable;
|
|||||||
@NotNullByDefault
|
@NotNullByDefault
|
||||||
public enum MessageType {
|
public enum MessageType {
|
||||||
|
|
||||||
SETUP(0), WIPE(1), REVOKE(2);
|
SETUP(0), WIPE(1), REVOKE(2), CONFIRM(3);
|
||||||
|
|
||||||
private final int value;
|
private final int value;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user