fn new(
        key_info_store: Arc<RwLock<dyn ManageKeyInfo + Send + Sync>>,
        esapi_context: tss_esapi::TransientKeyContext,
    ) -> Option<Provider> {
        Some(Provider {
            esapi_context: Mutex::new(esapi_context),
            key_info_store,
        })
    }
// Creates and initialise a new instance of TpmProvider.
Creates and initialise a new instance of TpmProvider.
Creates and initialise a new instance of TpmProvider .
fn new(
        key_info_store: Arc<RwLock<dyn ManageKeyInfo + Send + Sync>>,
        esapi_context: tss_esapi::TransientKeyContext,
    ) -> Option<Provider> {
        Some(Provider {
            esapi_context: Mutex::new(esapi_context),
            key_info_store,
        })
    }
fn new ( key_info_store : Arc < RwLock < dyn ManageKeyInfo + Send + Sync > > , esapi_context : tss_esapi :: TransientKeyContext , ) -> Option < Provider > { Some ( Provider { esapi_context : Mutex :: new ( esapi_context ) , key_info_store , } ) }
Creates and initialise a new instance of TpmProvider.
Creates and initialise a new instance of TpmProvider .
key_info_store
Arc<RwLock<dyn ManageKeyInfo + Send + Sync>>
esapi_context
tss_esapi::TransientKeyContext
key_info_store
Arc<RwLock<dyn ManageKeyInfo + Send + Sync>>
esapi_context
tss_esapi::TransientKeyContext