fn new(
        key_id_store: Arc<RwLock<dyn ManageKeyIDs + Send + Sync>>,
        esapi_context: tss_esapi::TransientObjectContext,
    ) -> Option<TpmProvider> {
        Some(TpmProvider {
            esapi_context: Mutex::new(esapi_context),
            key_id_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_id_store: Arc<RwLock<dyn ManageKeyIDs + Send + Sync>>,
        esapi_context: tss_esapi::TransientObjectContext,
    ) -> Option<TpmProvider> {
        Some(TpmProvider {
            esapi_context: Mutex::new(esapi_context),
            key_id_store,
        })
    }
fn new ( key_id_store : Arc < RwLock < dyn ManageKeyIDs + Send + Sync > > , esapi_context : tss_esapi :: TransientObjectContext , ) -> Option < TpmProvider > { Some ( TpmProvider { esapi_context : Mutex :: new ( esapi_context ) , key_id_store , } ) }
Creates and initialise a new instance of TpmProvider.
Creates and initialise a new instance of TpmProvider .
key_id_store
Arc<RwLock<dyn ManageKeyIDs + Send + Sync>>
esapi_context
tss_esapi::TransientObjectContext
key_id_store
Arc<RwLock<dyn ManageKeyIDs + Send + Sync>>
esapi_context
tss_esapi::TransientObjectContext