Function libindy_sys::indy_build_get_revoc_reg_delta_request[][src]

pub unsafe extern "C" fn indy_build_get_revoc_reg_delta_request(
    command_handle: indy_handle_t,
    submitter_did: *const c_char,
    revoc_reg_def_id: *const c_char,
    from: c_longlong,
    to: c_longlong,
    cb: indy_str_cb
) -> indy_error_t

Builds a GET_REVOC_REG_DELTA request. Request to get the delta of the accumulated state of the Revocation Registry. The Delta is defined by from and to timestamp fields. If from is not specified, then the whole state till to will be returned.

#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). revoc_reg_def_id: ID of the corresponding Revocation Registry Definition in ledger. from: Requested time represented as a total number of seconds from Unix Epoch to: Requested time represented as a total number of seconds from Unix Epoch cb: Callback that takes command result as parameter.

#Returns Request result as json.

#Errors Common*