pub struct Key(/* private fields */);
Trait Implementations§
Source§impl KeyOps for Key
impl KeyOps for Key
Source§fn sign(&self, msg: &[u8]) -> SecureEnvResult<Vec<u8>>
fn sign(&self, msg: &[u8]) -> SecureEnvResult<Vec<u8>>
Signing is an operation that requires authentication. Make sure to manually authenticate before calling this operation
fn get_public_key(&self) -> SecureEnvResult<Vec<u8>>
Source§impl SecureEnvironmentOps<Key> for SecureEnvironment
impl SecureEnvironmentOps<Key> for SecureEnvironment
fn generate_keypair( id: impl Into<String>, backed_by_biometrics: bool, ) -> SecureEnvResult<Key>
fn get_keypair_by_id(id: impl Into<String>) -> SecureEnvResult<Key>
impl Send for Key
impl Sync for Key
Auto Trait Implementations§
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more