mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Move DB key management into account manager.
This commit is contained in:
@@ -13,14 +13,13 @@ public interface AccountManager {
|
||||
@Nullable
|
||||
SecretKey getDatabaseKey();
|
||||
|
||||
void setDatabaseKey(SecretKey k);
|
||||
|
||||
@Nullable
|
||||
String getEncryptedDatabaseKey();
|
||||
|
||||
boolean storeEncryptedDatabaseKey(String hex);
|
||||
|
||||
boolean accountExists();
|
||||
|
||||
boolean createAccount(String password);
|
||||
|
||||
void deleteAccount();
|
||||
|
||||
boolean signIn(String password);
|
||||
|
||||
boolean changePassword(String oldPassword, String newPassword);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user