[][src]Function indyrs::anoncreds::generate_nonce

pub fn generate_nonce() -> Box<dyn Future<Item = String, Error = IndyError>>

Generates 80-bit numbers that can be used as a nonce for proof request.

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

  • nonce: generated number as a string