Function libindy_sys::indy_set_key_metadata [−][src]
pub unsafe extern "C" fn indy_set_key_metadata(
command_handle: indy_handle_t,
wallet_handle: indy_handle_t,
verkey: *const c_char,
metadata: *const c_char,
cb: indy_empty_cb
) -> indy_error_t
Saves/replaces the meta information for the giving key in the wallet.
#Params command_handle: Command handle to map callback to caller context. wallet_handle: Wallet handle (created by open_wallet). verkey - the key (verkey, key id) to store metadata. metadata - the meta information that will be store with the key. cb: Callback that takes command result as parameter.
#Returns Error Code cb:
- xcommand_handle: command handle to map callback to caller context.
- err: Error code.
#Errors Common* Wallet* Crypto*