mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
23 lines
366 B
Java
23 lines
366 B
Java
package org.briarproject.api.db;
|
|
|
|
import org.briarproject.api.crypto.SecretKey;
|
|
|
|
import java.io.File;
|
|
|
|
public interface DatabaseConfig {
|
|
|
|
boolean databaseExists();
|
|
|
|
File getDatabaseDirectory();
|
|
|
|
void setEncryptionKey(SecretKey key);
|
|
|
|
SecretKey getEncryptionKey();
|
|
|
|
void setLocalAuthorName(String nickname);
|
|
|
|
String getLocalAuthorName();
|
|
|
|
long getMaxSize();
|
|
}
|