Function libindy_sys::indy_create_pairwise[][src]

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

Creates pairwise.

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

#Returns Error code

#Errors Common* Wallet*