mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-06-11 16:45:35 +02:00
Change to fail state if no backup found
This commit is contained in:
+6
-1
@@ -7,9 +7,14 @@ import org.briarproject.briar.api.socialbackup.SocialBackup;
|
||||
import java.security.GeneralSecurityException;
|
||||
|
||||
public interface RestoreAccount {
|
||||
|
||||
int getNumberOfShards();
|
||||
boolean addReturnShardPayload(ReturnShardPayload toadd);
|
||||
|
||||
boolean addReturnShardPayload(ReturnShardPayload toAdd);
|
||||
|
||||
boolean canRecover();
|
||||
|
||||
int recover() throws FormatException, GeneralSecurityException;
|
||||
|
||||
SocialBackup getSocialBackup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user