mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Merge branch 'social-backup-poc' into remote-wipe-poc
* social-backup-poc: Dont accept shards from mismatched sets - all muss match the first shard received Change wording on shard notification messages Change message on success fragments
This commit is contained in:
@@ -9,10 +9,15 @@ import java.security.GeneralSecurityException;
|
||||
|
||||
public interface RestoreAccount {
|
||||
|
||||
enum AddReturnShardPayloadResult {
|
||||
DUPLICATE,
|
||||
MISMATCH,
|
||||
OK
|
||||
}
|
||||
|
||||
int getNumberOfShards();
|
||||
|
||||
boolean addReturnShardPayload(ReturnShardPayload toAdd);
|
||||
AddReturnShardPayloadResult addReturnShardPayload(ReturnShardPayload toAdd);
|
||||
|
||||
boolean canRecover();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user