public final class Wallets extends Object
| Modifier and Type | Method and Description |
|---|---|
static Wallet |
newCouchDBWallet(URL serverUrl,
String databaseName)
Create a wallet backed by a CouchDB database.
|
static Wallet |
newFileSystemWallet(Path storeDirectory)
Create a wallet backed by a directory on the file system.
|
static Wallet |
newInMemoryWallet()
Create a wallet backed by an in-memory (non-persistent) store.
|
static Wallet |
newWallet(WalletStore store)
Create a wallet backed by a custom store implementation.
|
public static Wallet newInMemoryWallet()
public static Wallet newFileSystemWallet(Path storeDirectory) throws IOException
storeDirectory - A directory.IOException - if the specified directory does not exist and can not be created.public static Wallet newCouchDBWallet(URL serverUrl, String databaseName)
serverUrl - Connection URL for CouchDB server.databaseName - Wallet database name.public static Wallet newWallet(WalletStore store)
store - A wallet store implementation.Copyright © 2023. All rights reserved.