[][src]Struct at_cryptoauth::AtCaClient

pub struct AtCaClient<PHY, D> { /* fields omitted */ }

Implementations

impl<PHY, D> AtCaClient<PHY, D>[src]

pub fn new(phy: PHY, delay: D) -> Self[src]

pub fn memory(&mut self) -> Memory<'_, PHY, D>[src]

pub fn aes(&mut self, key_id: Slot) -> Aes<'_, PHY, D>[src]

pub fn sha(&mut self) -> Sha<'_, PHY, D>[src]

pub fn sign(&mut self, key_id: Slot) -> Sign<'_, PHY, D>[src]

pub fn verify(&mut self, key_id: Slot) -> Verify<'_, PHY, D>[src]

impl<PHY, D> AtCaClient<PHY, D> where
    PHY: Read + Write,
    <PHY as Read>::Error: Debug,
    <PHY as Write>::Error: Debug,
    D: DelayUs<u32>, 
[src]

pub fn signer(&mut self, key_id: Slot) -> Signer<'_, PHY, D>[src]

pub fn verifier(&mut self, key_id: Slot) -> Verifier<'_, PHY, D>[src]

pub fn tng(&mut self) -> Result<TrustAndGo<'_, PHY, D>, Error>[src]

pub fn sleep(&mut self) -> Result<(), Error>[src]

pub fn info(&mut self) -> Result<Word, Error>[src]

pub fn random(&mut self) -> Result<Block, Error>[src]

pub fn write_message_digest_buffer(&mut self, msg: &Digest) -> Result<(), Error>[src]

pub fn create_private_key(&mut self, key_id: Slot) -> Result<PublicKey, Error>[src]

pub fn write_private_key(
    &mut self,
    key_id: Slot,
    private_key: &Block
) -> Result<(), Error>
[src]

pub fn generate_pubkey(&mut self, key_id: Slot) -> Result<PublicKey, Error>[src]

Trait Implementations

impl<'a, PHY, D> TryFrom<&'a mut AtCaClient<PHY, D>> for TrustAndGo<'a, PHY, D> where
    PHY: Read + Write,
    <PHY as Read>::Error: Debug,
    <PHY as Write>::Error: Debug,
    D: DelayUs<u32>, 
[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<PHY, D> Send for AtCaClient<PHY, D> where
    D: Send,
    PHY: Send
[src]

impl<PHY, D> Sync for AtCaClient<PHY, D> where
    D: Sync,
    PHY: Sync
[src]

impl<PHY, D> Unpin for AtCaClient<PHY, D> where
    D: Unpin,
    PHY: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.