Database
public final class Database
The database needed to initialize CoreCrypto.
-
init(keystorePath:Asynchronouskey: ) Initialise or open a Database.
Declaration
Swift
public convenience init(keystorePath: String, key: DatabaseKey) async throwsParameters
keystorePathpath to the database
keysecret key to unlock the database
-
init(key:Asynchronous) Initialise an in-memory Database whose data will be lost when the instance is dropped.
Declaration
Swift
public convenience init(key: DatabaseKey) async throwsParameters
keysecret key to unlock the database