Struct rust_libindy_wrapper::anoncreds::Issuer [−][src]
pub struct Issuer {}
Methods
impl Issuer
[src]
impl Issuer
pub fn create_schema(
issuer_did: &str,
name: &str,
version: &str,
attrs: &str
) -> Result<(String, String), ErrorCode>
[src]
pub fn create_schema(
issuer_did: &str,
name: &str,
version: &str,
attrs: &str
) -> Result<(String, String), ErrorCode>
pub fn create_schema_timeout(
issuer_did: &str,
name: &str,
version: &str,
attrs: &str,
timeout: Duration
) -> Result<(String, String), ErrorCode>
[src]
pub fn create_schema_timeout(
issuer_did: &str,
name: &str,
version: &str,
attrs: &str,
timeout: Duration
) -> Result<(String, String), ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn create_schema_async<F: 'static>(
issuer_did: &str,
name: &str,
version: &str,
attrs: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String, String) + Send,
[src]
pub fn create_schema_async<F: 'static>(
issuer_did: &str,
name: &str,
version: &str,
attrs: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String, 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 create_and_store_credential_def(
wallet_handle: IndyHandle,
issuer_did: &str,
schema_json: &str,
tag: &str,
signature_type: Option<&str>,
config_json: &str
) -> Result<(String, String), ErrorCode>
[src]
pub fn create_and_store_credential_def(
wallet_handle: IndyHandle,
issuer_did: &str,
schema_json: &str,
tag: &str,
signature_type: Option<&str>,
config_json: &str
) -> Result<(String, String), ErrorCode>
pub fn create_and_store_credential_def_timeout(
wallet_handle: IndyHandle,
issuer_did: &str,
schema_json: &str,
tag: &str,
signature_type: Option<&str>,
config_json: &str,
timeout: Duration
) -> Result<(String, String), ErrorCode>
[src]
pub fn create_and_store_credential_def_timeout(
wallet_handle: IndyHandle,
issuer_did: &str,
schema_json: &str,
tag: &str,
signature_type: Option<&str>,
config_json: &str,
timeout: Duration
) -> Result<(String, String), ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn create_and_store_credential_def_async<F: 'static>(
wallet_handle: IndyHandle,
issuer_did: &str,
schema_json: &str,
tag: &str,
signature_type: Option<&str>,
config_json: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String, String) + Send,
[src]
pub fn create_and_store_credential_def_async<F: 'static>(
wallet_handle: IndyHandle,
issuer_did: &str,
schema_json: &str,
tag: &str,
signature_type: Option<&str>,
config_json: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String, 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 create_and_store_revoc_reg(
wallet_handle: IndyHandle,
issuer_did: &str,
revoc_def_type: Option<&str>,
tag: &str,
cred_def_id: &str,
config_json: &str,
tails_writer_handle: IndyHandle
) -> Result<(String, String, String), ErrorCode>
[src]
pub fn create_and_store_revoc_reg(
wallet_handle: IndyHandle,
issuer_did: &str,
revoc_def_type: Option<&str>,
tag: &str,
cred_def_id: &str,
config_json: &str,
tails_writer_handle: IndyHandle
) -> Result<(String, String, String), ErrorCode>
pub fn create_and_store_revoc_reg_timeout(
wallet_handle: IndyHandle,
issuer_did: &str,
revoc_def_type: Option<&str>,
tag: &str,
cred_def_id: &str,
config_json: &str,
tails_writer_handle: IndyHandle,
timeout: Duration
) -> Result<(String, String, String), ErrorCode>
[src]
pub fn create_and_store_revoc_reg_timeout(
wallet_handle: IndyHandle,
issuer_did: &str,
revoc_def_type: Option<&str>,
tag: &str,
cred_def_id: &str,
config_json: &str,
tails_writer_handle: IndyHandle,
timeout: Duration
) -> Result<(String, String, String), ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn create_and_store_revoc_reg_async<F: 'static>(
wallet_handle: IndyHandle,
issuer_did: &str,
revoc_def_type: Option<&str>,
tag: &str,
cred_def_id: &str,
config_json: &str,
tails_writer_handle: IndyHandle,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String, String, String) + Send,
[src]
pub fn create_and_store_revoc_reg_async<F: 'static>(
wallet_handle: IndyHandle,
issuer_did: &str,
revoc_def_type: Option<&str>,
tag: &str,
cred_def_id: &str,
config_json: &str,
tails_writer_handle: IndyHandle,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String, String, 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 create_credential_offer(
wallet_handle: IndyHandle,
cred_def_id: &str
) -> Result<String, ErrorCode>
[src]
pub fn create_credential_offer(
wallet_handle: IndyHandle,
cred_def_id: &str
) -> Result<String, ErrorCode>
pub fn create_credential_offer_timeout(
wallet_handle: IndyHandle,
cred_def_id: &str,
timeout: Duration
) -> Result<String, ErrorCode>
[src]
pub fn create_credential_offer_timeout(
wallet_handle: IndyHandle,
cred_def_id: &str,
timeout: Duration
) -> Result<String, ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn create_credential_offer_async<F: 'static>(
wallet_handle: IndyHandle,
cred_def_id: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String) + Send,
[src]
pub fn create_credential_offer_async<F: 'static>(
wallet_handle: IndyHandle,
cred_def_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 create_credential(
wallet_handle: IndyHandle,
cred_offer_json: &str,
cred_req_json: &str,
cred_values_json: &str,
rev_reg_id: Option<&str>,
blob_storage_reader_handle: IndyHandle
) -> Result<(String, Option<String>, Option<String>), ErrorCode>
[src]
pub fn create_credential(
wallet_handle: IndyHandle,
cred_offer_json: &str,
cred_req_json: &str,
cred_values_json: &str,
rev_reg_id: Option<&str>,
blob_storage_reader_handle: IndyHandle
) -> Result<(String, Option<String>, Option<String>), ErrorCode>
pub fn create_credential_timeout(
wallet_handle: IndyHandle,
cred_offer_json: &str,
cred_req_json: &str,
cred_values_json: &str,
rev_reg_id: Option<&str>,
blob_storage_reader_handle: IndyHandle,
timeout: Duration
) -> Result<(String, Option<String>, Option<String>), ErrorCode>
[src]
pub fn create_credential_timeout(
wallet_handle: IndyHandle,
cred_offer_json: &str,
cred_req_json: &str,
cred_values_json: &str,
rev_reg_id: Option<&str>,
blob_storage_reader_handle: IndyHandle,
timeout: Duration
) -> Result<(String, Option<String>, Option<String>), ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn create_credential_async<F: 'static>(
wallet_handle: IndyHandle,
cred_offer_json: &str,
cred_req_json: &str,
cred_values_json: &str,
rev_reg_id: Option<&str>,
blob_storage_reader_handle: IndyHandle,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String, Option<String>, Option<String>) + Send,
[src]
pub fn create_credential_async<F: 'static>(
wallet_handle: IndyHandle,
cred_offer_json: &str,
cred_req_json: &str,
cred_values_json: &str,
rev_reg_id: Option<&str>,
blob_storage_reader_handle: IndyHandle,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String, Option<String>, Option<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 revoke_credential(
wallet_handle: IndyHandle,
blob_storage_reader_cfg_handle: IndyHandle,
rev_reg_id: &str,
cred_revoc_id: &str
) -> Result<String, ErrorCode>
[src]
pub fn revoke_credential(
wallet_handle: IndyHandle,
blob_storage_reader_cfg_handle: IndyHandle,
rev_reg_id: &str,
cred_revoc_id: &str
) -> Result<String, ErrorCode>
pub fn revoke_credential_timeout(
wallet_handle: IndyHandle,
blob_storage_reader_cfg_handle: IndyHandle,
rev_reg_id: &str,
cred_revoc_id: &str,
timeout: Duration
) -> Result<String, ErrorCode>
[src]
pub fn revoke_credential_timeout(
wallet_handle: IndyHandle,
blob_storage_reader_cfg_handle: IndyHandle,
rev_reg_id: &str,
cred_revoc_id: &str,
timeout: Duration
) -> Result<String, ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn revoke_credential_async<F: 'static>(
wallet_handle: IndyHandle,
blob_storage_reader_cfg_handle: IndyHandle,
rev_reg_id: &str,
cred_revoc_id: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String) + Send,
[src]
pub fn revoke_credential_async<F: 'static>(
wallet_handle: IndyHandle,
blob_storage_reader_cfg_handle: IndyHandle,
rev_reg_id: &str,
cred_revoc_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 merge_revocation_registry_deltas(
rev_reg_delta_json: &str,
other_rev_reg_delta_json: &str
) -> Result<String, ErrorCode>
[src]
pub fn merge_revocation_registry_deltas(
rev_reg_delta_json: &str,
other_rev_reg_delta_json: &str
) -> Result<String, ErrorCode>
pub fn merge_revocation_registry_deltas_timeout(
rev_reg_delta_json: &str,
other_rev_reg_delta_json: &str,
timeout: Duration
) -> Result<String, ErrorCode>
[src]
pub fn merge_revocation_registry_deltas_timeout(
rev_reg_delta_json: &str,
other_rev_reg_delta_json: &str,
timeout: Duration
) -> Result<String, ErrorCode>
timeout
- the maximum time this function waits for a response
pub fn merge_revocation_registry_deltas_async<F: 'static>(
rev_reg_delta_json: &str,
other_rev_reg_delta_json: &str,
closure: F
) -> ErrorCode where
F: FnMut(ErrorCode, String) + Send,
[src]
pub fn merge_revocation_registry_deltas_async<F: 'static>(
rev_reg_delta_json: &str,
other_rev_reg_delta_json: &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