mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Change to fail state if no backup found
This commit is contained in:
@@ -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