Function libindy_sys::indy_set_pairwise_metadata[][src]

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

Save some data in the Wallet for pairwise associated with Did.

#Params wallet_handle: wallet handler (created by open_wallet). command_handle: command handle to map callback to user context. their_did: encoded Did metadata: some extra information for pairwise cb: Callback that takes command result as parameter.

#Returns Error code

#Errors Common* Wallet*