[−][src]Function indyrs::anoncreds::create_revocation_state
pub fn create_revocation_state(
blob_storage_reader_handle: IndyHandle,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>
Create revocation state for a credential in the particular time moment.
Arguments
blob_storage_reader_handle
: configuration of blob storage reader handle that will allow to read revocation tailsrev_reg_def_json
: revocation registry definition jsonrev_reg_delta_json
: revocation registry definition delta jsontimestamp
: time represented as a total number of seconds from Unix Epochcred_rev_id
: user credential revocation id in revocation registry
Returns
revocation_state_json
: { "rev_reg":, "witness": , "timestamp" : integer }