pub trait SkfDevice:
DeviceCtl
+ DeviceAuth
+ AppManager
+ DeviceCrypto {
// Required methods
fn block_cipher(&self) -> Result<Box<dyn SkfBlockCipher + Send + Sync>>;
fn name(&self) -> &str;
}Expand description
Represents a device instance,call DeviceManager::connect() or DeviceManager::connect_selected() to get one
§Disconnect
Device instance is disconnected when Drop
Required Methods§
Sourcefn block_cipher(&self) -> Result<Box<dyn SkfBlockCipher + Send + Sync>>
fn block_cipher(&self) -> Result<Box<dyn SkfBlockCipher + Send + Sync>>
Block cipher service