Function libindy_sys::indy_build_get_attrib_request[][src]

pub unsafe extern "C" fn indy_build_get_attrib_request(
    command_handle: indy_handle_t,
    submitter_did: *const c_char,
    target_did: *const c_char,
    hash: *const c_char,
    raw: *const c_char,
    enc: *const c_char,
    str: indy_str_cb
) -> indy_error_t

Builds a GET_ATTRIB request. Request to get information about an Attribute for the specified DID.

#Params command_handle: command handle to map callback to caller context. submitter_did: (Optional) DID of the read request sender (if not provided then default Libindy DID will be used). target_did: Target DID as base58-encoded string for 16 or 32 bit DID value. raw: (Optional) Requested attribute name. hash: (Optional) Requested attribute hash. enc: (Optional) Requested attribute encrypted value. cb: Callback that takes command result as parameter.

#Returns Request result as json.

#Errors Common*