[−][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 tailsrev_state_json
: revocation registry state jsonrev_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
nonce
: generated number as a string