Function libindy_sys::indy_generate_wallet_key[][src]

pub unsafe extern "C" fn indy_generate_wallet_key(
    command_handle: indy_handle_t,
    config: *const c_char,
    cb: indy_str_cb
) -> indy_error_t

Generate wallet master key. Returned key is compatible with "RAW" key derivation method. It allows to avoid expensive key derivation for use cases when wallet keys can be stored in a secure enclave.

#Params config: (optional) key configuration json. { "seed": optional Seed that allows deterministic key creation (if not set random one will be used). }

#Returns err: Error code

#Errors Common* Wallet*