Function libindy_sys::indy_update_revocation_state[][src]

pub unsafe extern "C" fn indy_update_revocation_state(
    command_handle: indy_handle_t,
    blob_storage_reader_handle: indy_i32_t,
    rev_state_json: *const c_char,
    rev_reg_def_json: *const c_char,
    rev_reg_delta_json: *const c_char,
    timestamp: indy_u64_t,
    cred_rev_id: *const c_char,
    cb: indy_str_cb
) -> indy_error_t

Create new revocation state for a credential based on existed state at the particular time moment (to reduce calculation time).

#Params command_handle: command handle to map callback to user context blob_storage_reader_handle: configuration of blob storage reader handle that will allow to read revocation tails rev_state_json: revocation registry state json rev_reg_def_json: revocation registry definition json rev_reg_delta_json: revocation registry definition delta json timestamp: time represented as a total number of seconds from Unix Epoch cred_rev_id: user credential revocation id in revocation registry cb: Callback that takes command result as parameter

#Returns revocation state json: { "rev_reg": , "witness": , "timestamp" : integer }

#Errors Common* Wallet* Anoncreds*