Interface WalletStore
public interface WalletStore
Interface for store implementations that provide backing storage for identities in a
Wallet
.-
Method Summary
-
Method Details
-
remove
Remove data from the store. If the data does not exist, this does nothing.- Parameters:
label
- Name used to key the data.- Throws:
IOException
- if an error occurs accessing underlying persistent storage.
-
get
Get data from the store.- Parameters:
label
- Name used to key the data.- Returns:
- The data, if it exists; otherwise null.
- Throws:
IOException
- if an error occurs accessing underlying persistent storage.
-
list
List the labels for all stored data.- Returns:
- Labels.
- Throws:
IOException
- if an error occurs accessing underlying persistent storage.
-
put
Put data into the store. If data already exists for this label, it is overwritten.- Parameters:
label
- Name used to key the data.data
- Data to be stored.- Throws:
IOException
- if an error occurs accessing underlying persistent storage.
-