Trait SecureEnvironmentOps

Source
pub trait SecureEnvironmentOps<K: KeyOps> {
    // Required methods
    fn generate_keypair(
        id: impl Into<String>,
        backed_by_biometrics: bool,
    ) -> SecureEnvResult<K>;
    fn get_keypair_by_id(id: impl Into<String>) -> SecureEnvResult<K>;
}

Required Methods§

Source

fn generate_keypair( id: impl Into<String>, backed_by_biometrics: bool, ) -> SecureEnvResult<K>

Source

fn get_keypair_by_id(id: impl Into<String>) -> SecureEnvResult<K>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§