Function libindy_sys::indy_parse_get_revoc_reg_response[][src]

pub unsafe extern "C" fn indy_parse_get_revoc_reg_response(
    command_handle: indy_handle_t,
    get_revoc_reg_response: *const c_char,
    cb: indy_str_str_long_cb
) -> indy_error_t

Parse a GET_REVOC_REG response to get Revocation Registry in the format compatible with Anoncreds API.

#Params command_handle: command handle to map callback to caller context. get_revoc_reg_response: response of GET_REVOC_REG request. cb: Callback that takes command result as parameter.

#Returns Revocation Registry Definition Id, Revocation Registry json and Timestamp. { "value": Registry-specific data { "accum": string - current accumulator value }, "ver": string - version revocation registry json }

#Errors Common*