public interface Wallet
Wallets.| Modifier and Type | Method and Description |
|---|---|
Identity |
get(String label)
Get an identity from the wallet.
|
Set<String> |
list()
Get the labels of all identities in the wallet.
|
void |
put(String label,
Identity identity)
Put an identity into the wallet.
|
void |
remove(String label)
Remove an identity from the wallet.
|
void put(String label, Identity identity) throws IOException
label - Label used to identify the identity within the wallet.identity - Identity to store in the wallet.IOException - if an error occurs accessing the backing store.Identity get(String label) throws IOException
label - Label used to identify the identity within the wallet.IOException - if an error occurs accessing the backing store.Set<String> list() throws IOException
IOException - if an error occurs accessing the backing store.void remove(String label) throws IOException
label - Label used to identify the identity within the wallet.IOException - if an error occurs accessing the backing store.Copyright © 2023. All rights reserved.