[][src]Function indyrs::crypto::set_key_metadata

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

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