pub struct AtCaClient<PHY, D> { /* private fields */ }
Implementations§
Source§impl<PHY, D> AtCaClient<PHY, D>
impl<PHY, D> AtCaClient<PHY, D>
pub fn new(phy: PHY, delay: D) -> Self
pub fn memory(&mut self) -> Memory<'_, PHY, D>
pub fn aes(&mut self, key_id: Slot) -> Aes<'_, PHY, D>
pub fn sha(&mut self) -> Sha<'_, PHY, D>
pub fn sign(&mut self, key_id: Slot) -> Sign<'_, PHY, D>
pub fn verify(&mut self, key_id: Slot) -> Verify<'_, PHY, D>
Source§impl<PHY, D> AtCaClient<PHY, D>
impl<PHY, D> AtCaClient<PHY, D>
pub fn signer(&mut self, key_id: Slot) -> Signer<'_, PHY, D>
pub fn verifier(&mut self, key_id: Slot) -> Verifier<'_, PHY, D>
pub fn tng(&mut self) -> Result<TrustAndGo<'_, PHY, D>, Error>
pub fn sleep(&mut self) -> Result<(), Error>
pub fn info(&mut self) -> Result<Word, Error>
pub fn random(&mut self) -> Result<Block, Error>
pub fn write_message_digest_buffer(&mut self, msg: &Digest) -> Result<(), Error>
pub fn create_private_key(&mut self, key_id: Slot) -> Result<PublicKey, Error>
pub fn write_private_key( &mut self, key_id: Slot, private_key: &Block, ) -> Result<(), Error>
pub fn generate_pubkey(&mut self, key_id: Slot) -> Result<PublicKey, Error>
pub fn diffie_hellman( &mut self, key_id: Slot, public_key: PublicKey, ) -> Result<SharedSecret, Error>
Trait Implementations§
Source§impl<'a, PHY, D> TryFrom<&'a mut AtCaClient<PHY, D>> for TrustAndGo<'a, PHY, D>
impl<'a, PHY, D> TryFrom<&'a mut AtCaClient<PHY, D>> for TrustAndGo<'a, PHY, D>
Auto Trait Implementations§
impl<PHY, D> Freeze for AtCaClient<PHY, D>
impl<PHY, D> RefUnwindSafe for AtCaClient<PHY, D>where
PHY: RefUnwindSafe,
D: RefUnwindSafe,
impl<PHY, D> Send for AtCaClient<PHY, D>
impl<PHY, D> Sync for AtCaClient<PHY, D>
impl<PHY, D> Unpin for AtCaClient<PHY, D>
impl<PHY, D> UnwindSafe for AtCaClient<PHY, D>where
PHY: UnwindSafe,
D: UnwindSafe,
Blanket Implementations§
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