pub fn set_key_metadata(
    wallet_handle: WalletHandle,
    verkey: &str,
    metadata: &str
) -> Box<dyn Future<Item = (), Error = IndyError>>
Expand description

Saves/replaces the metadata for the verkey in the wallet

Arguments

  • wallet_handle - wallet handle (created by Wallet::open)
  • verkey - the public key or key id where to store the metadata
  • metadata - the metadata that will be stored with the key, can be empty string