Function libindy_sys::indy_list_my_dids_with_meta[][src]

pub unsafe extern "C" fn indy_list_my_dids_with_meta(
    command_handle: indy_handle_t,
    wallet_handle: indy_handle_t,
    cb: indy_str_cb
) -> indy_error_t

Retrieves the information about all DIDs stored in the wallet.

#Params command_handle: Command handle to map callback to caller context. wallet_handle: Wallet handle (created by open_wallet). 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. dids: [{ "did": string - DID stored in the wallet, "verkey": string - The DIDs transport key (ver key, key id)., "metadata": string - The meta information stored with the DID }]

#Errors Common* Wallet* Crypto*