Struct indy::anoncreds::AnonCreds

source ·
pub struct AnonCreds {}

Implementations

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 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
Returns
  • revocation_state_json: { “rev_reg”: , “witness”: , “timestamp” : integer }

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 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
  • timeout - the maximum time this function waits for a response
Returns
  • revocation_state_json: { “rev_reg”: , “witness”: , “timestamp” : integer }

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 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
  • closure - the closure that is called when finished
Returns
  • errorcode - errorcode from calling ffi function. The closure receives the return result

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

Arguments
  • 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
Returns
  • revocation_state_json: { “rev_reg”: , “witness”: , “timestamp” : integer }

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

Arguments
  • 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
  • timeout - the maximum time this function waits for a response
Returns
  • revocation_state_json: { “rev_reg”: , “witness”: , “timestamp” : integer }

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

Arguments
  • 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
  • closure - the closure that is called when finished
Returns
  • errorcode - errorcode from calling ffi function. The closure receives the return result

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.