animo-secure-env 0.5.0

secure-env is a wrapper library around the Android KeyStore and the iOS Security Framework for key creation and sign operations using the Secure Element
Documentation
1
2
3
4
5
6
7
use crate::{error::SecureEnvResult, key::KeyOps};

pub trait SecureEnvironmentOps<K: KeyOps> {
    fn generate_keypair(id: impl Into<String>, backed_by_biometrics: bool) -> SecureEnvResult<K>;

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