Function libindy_sys::indy_replace_keys_apply [−][src]
pub unsafe extern "C" fn indy_replace_keys_apply(
command_handle: indy_handle_t,
wallet_handle: indy_handle_t,
did: *const c_char,
cb: indy_empty_cb
) -> indy_error_t
Apply temporary keys as main for an existing DID (owned by the caller of the library).
#Params wallet_handle: wallet handler (created by open_wallet). command_handle: command handle to map callback to user context. did: DID stored in the 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.
#Errors Common* Wallet* Crypto*