indy_set_did_metadata

Function indy_set_did_metadata 

Source
pub unsafe extern "C" fn indy_set_did_metadata(
    command_handle: indy_handle_t,
    wallet_handle: indy_handle_t,
    did: *const c_char,
    metadata: *const c_char,
    cb: indy_empty_cb,
) -> indy_error_t
Expand description

Saves/replaces the meta information for the giving DID in the wallet.

#Params command_handle: Command handle to map callback to caller context. wallet_handle: Wallet handle (created by open_wallet). did - the DID to store metadata. metadata - the meta information that will be store with the DID. 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*