Function libindy_sys::indy_get_endpoint_for_did[][src]

pub unsafe extern "C" fn indy_get_endpoint_for_did(
    command_handle: indy_handle_t,
    wallet_handle: indy_handle_t,
    pool_handle: indy_handle_t,
    did: *const c_char,
    cb: indy_str_str_cb
) -> indy_error_t

Returns endpoint information for the given DID.

#Params command_handle: Command handle to map callback to caller context. wallet_handle: Wallet handle (created by open_wallet). did - The DID to resolve endpoint. 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.
  • endpoint - The DIDs endpoint.
  • transport_vk - The DIDs transport key (ver key, key id).

#Errors Common* Wallet* Crypto*