Function libindy_sys::indy_set_endpoint_for_did [−][src]
pub unsafe extern "C" fn indy_set_endpoint_for_did(
command_handle: indy_handle_t,
wallet_handle: indy_handle_t,
did: *const c_char,
address: *const c_char,
transport_key: *const c_char,
cb: indy_empty_cb
) -> indy_error_t
Set/replaces 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. address - The DIDs endpoint address. transport_key - The DIDs transport key (ver key, key id). 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*