Add CONFIRM remote wipe message type

This commit is contained in:
ameba23
2022-02-21 09:08:50 +01:00
parent 0ae3ace1da
commit bb30fe622d
2 changed files with 3 additions and 1 deletions

View File

@@ -6,4 +6,6 @@ public interface MessageEncoder {
byte[] encodeRevokeMessage();
byte[] encodeWipeMessage();
byte[] encodeConfirmMessage();
}

View File

@@ -9,7 +9,7 @@ import javax.annotation.concurrent.Immutable;
@NotNullByDefault
public enum MessageType {
SETUP(0), WIPE(1), REVOKE(2);
SETUP(0), WIPE(1), REVOKE(2), CONFIRM(3);
private final int value;