Function libindy_sys::indy_create_revocation_state [−][src]
pub unsafe extern "C" fn indy_create_revocation_state(
command_handle: indy_handle_t,
blob_storage_reader_handle: indy_i32_t,
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 revocation state for a credential in the particular time moment.
#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_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":
#Errors Common* Wallet* Anoncreds*