Struct rust_libindy_wrapper::anoncreds::AnonCreds [−][src]
pub struct AnonCreds {}
Methods
impl AnonCreds
[src]
impl AnonCreds
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
) -> Result<String, ErrorCode>
[src]
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
) -> Result<String, ErrorCode>
pub fn create_revocation_state_timeout(
blob_storage_reader_handle: IndyHandle,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str,
timeout: Duration
) -> Result<String, ErrorCode>
[src]
pub fn create_revocation_state_timeout(
blob_storage_reader_handle: IndyHandle,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str,
timeout: Duration
) -> Result<String, ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn create_revocation_state_async<F: 'static>(
blob_storage_reader_handle: IndyHandle,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String) + Send,
[src]
pub fn create_revocation_state_async<F: 'static>(
blob_storage_reader_handle: IndyHandle,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String) + Send,
closure
- the closure that is called when finished
Returns
errorcode
- errorcode from calling ffi function. The closure receives the return result
pub fn update_revocation_state(
blob_storage_reader_handle: IndyHandle,
rev_state_json: &str,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str
) -> Result<String, ErrorCode>
[src]
pub fn update_revocation_state(
blob_storage_reader_handle: IndyHandle,
rev_state_json: &str,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str
) -> Result<String, ErrorCode>
pub fn update_revocation_state_timeout(
blob_storage_reader_handle: IndyHandle,
rev_state_json: &str,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str,
timeout: Duration
) -> Result<String, ErrorCode>
[src]
pub fn update_revocation_state_timeout(
blob_storage_reader_handle: IndyHandle,
rev_state_json: &str,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str,
timeout: Duration
) -> Result<String, ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn update_revocation_state_async<F: 'static>(
blob_storage_reader_handle: IndyHandle,
rev_state_json: &str,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String) + Send,
[src]
pub fn update_revocation_state_async<F: 'static>(
blob_storage_reader_handle: IndyHandle,
rev_state_json: &str,
rev_reg_def_json: &str,
rev_reg_delta_json: &str,
timestamp: u64,
cred_rev_id: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String) + Send,
closure
- the closure that is called when finished
Returns
errorcode
- errorcode from calling ffi function. The closure receives the return result