Function libindy_sys::indy_build_revoc_reg_entry_request [−][src]
pub unsafe extern "C" fn indy_build_revoc_reg_entry_request(
command_handle: indy_handle_t,
submitter_did: *const c_char,
revoc_reg_def_id: *const c_char,
rev_def_type: *const c_char,
value: *const c_char,
str: indy_str_cb
) -> indy_error_t
Builds a REVOC_REG_ENTRY request. Request to add the RevocReg entry containing the new accumulator value and issued/revoked indices. This is just a delta of indices, not the whole list. So, it can be sent each time a new credential is issued/revoked.
#Params
command_handle: command handle to map callback to caller context.
submitter_did: DID of the submitter stored in secured Wallet.
revoc_reg_def_id: ID of the corresponding RevocRegDef.
rev_def_type: Revocation Registry type (only CL_ACCUM is supported for now).
value: Registry-specific data: {
value: {
prevAccum: string - previous accumulator value.
accum: string - current accumulator value.
issued: array
} cb: Callback that takes command result as parameter.
#Returns Request result as json.
#Errors Common*