Function libindy_sys::indy_export_wallet[][src]

pub unsafe extern "C" fn indy_export_wallet(
    command_handle: indy_handle_t,
    wallet_handle: indy_handle_t,
    export_config_json: *const c_char,
    cb: indy_empty_cb
) -> indy_error_t

Exports opened wallet

#Params: wallet_handle: wallet handle returned by indy_open_wallet export_config: JSON containing settings for input operation. { "path": , Path of the file that contains exported wallet content "key": , Key or passphrase used for wallet export key derivation. Look to key_derivation_method param for information about supported key derivation methods. "key_derivation_method": optional Algorithm to use for export key derivation: ARGON2I_MOD - derive secured export key (used by default) ARGON2I_INT - derive secured export key (less secured but faster) RAW - raw export key provided (skip derivation). RAW keys can be generated with indy_generate_wallet_key call }

#Returns Error code

#Errors Common* Wallet*