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;

pub trait KeyOps {
    fn get_public_key(&self) -> SecureEnvResult<Vec<u8>>;

    fn sign(&self, msg: &[u8]) -> SecureEnvResult<Vec<u8>>;
}