Function libindy_sys::indy_get_my_did_with_meta [−][src]
pub unsafe extern "C" fn indy_get_my_did_with_meta(
command_handle: indy_handle_t,
wallet_handle: indy_handle_t,
my_did: *const c_char,
cb: indy_str_cb
) -> indy_error_t
Retrieves the information about 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 retrieve information. 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. did_with_meta: { "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*