Function libindy_sys::indy_replace_keys_start [−][src]
pub unsafe extern "C" fn indy_replace_keys_start(
command_handle: indy_handle_t,
wallet_handle: indy_handle_t,
did: *const c_char,
identity_json: *const c_char,
cb: indy_str_cb
) -> indy_error_t
Generated temporary keys (signing and encryption keys) 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. identity_json: Identity information as json. Example: { "seed": string, (optional; if not provide then a random one will be created) "crypto_type": string, (optional; if not set then ed25519 curve is used; currently only 'ed25519' value is supported for this field) } 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. verkey: The DIDs verification key
#Errors Common* Wallet* Crypto*