pub fn build_revoc_reg_entry_request_timeout(submitter_did: &str, revoc_reg_def_id: &str, rev_def_type: &str, value: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Ledger::_build_revoc_reg_entry_request(command_handle, submitter_did, revoc_reg_def_id, rev_def_type, value, cb);

        ResultHandler::one_timeout(err, receiver, timeout)
    }
/// Builds a REVOC_REG_ENTRY request.  Request to add the RevocReg entry containing
/// the new accumulator value and issued/revoked indices.
/// This is just a delta of indices, not the whole list.
/// So, it can be sent each time a new credential is issued/revoked.
///
/// # Arguments
/// * `submitter_did` - DID of the submitter stored in secured Wallet.
/// * `revoc_reg_def_id` - ID of the corresponding RevocRegDef.
/// * `rev_def_type` - Revocation Registry type (only CL_ACCUM is supported for now).
/// * `value` - Registry-specific data: {
///     value: {
///         prevAccum: string - previous accumulator value.
///         accum: string - current accumulator value.
///         issued: array<number> - an array of issued indices.
///         revoked: array<number> an array of revoked indices.
///     },
///     ver: string - version revocation registry entry json
///
/// }
/// * `timeout` - the maximum time this function waits for a response
///
/// # Returns
/// Request result as json.
Builds a REVOC_REG_ENTRY request.  Request to add the RevocReg entry containing
the new accumulator value and issued/revoked indices.
This is just a delta of indices, not the whole list.
So, it can be sent each time a new credential is issued/revoked.
Builds a REVOC_REG_ENTRY request . Request to add the RevocReg entry containing the new accumulator value and issued / revoked indices . This is just a delta of indices not the whole list . So it can be sent each time a new credential is issued / revoked .
pub fn build_revoc_reg_entry_request_timeout(submitter_did: &str, revoc_reg_def_id: &str, rev_def_type: &str, value: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_build_revoc_reg_entry_request(command_handle, submitter_did, revoc_reg_def_id, rev_def_type, value, cb);
        ResultHandler::one_timeout(err, receiver, timeout)
    }
pub fn build_revoc_reg_entry_request_timeout ( submitter_did : & str , revoc_reg_def_id : & str , rev_def_type : & str , value : & str , timeout : Duration ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _build_revoc_reg_entry_request ( command_handle , submitter_did , revoc_reg_def_id , rev_def_type , value , cb ) ; ResultHandler :: one_timeout ( err , receiver , timeout ) }
Builds a REVOC_REG_ENTRY request.
Builds a REVOC_REG_ENTRY request .
Request result as json.
Request result as json .
submitter_did
&str
revoc_reg_def_id
&str
rev_def_type
&str
value
&str
timeout
Duration