Struct jpki::Card

source · []
pub struct Card<T, Ctx> where
    T: Card<Ctx>,
    Ctx: Copy
{ /* private fields */ }
Expand description

An adapter to communicate with the card through the delegate

Implementations

Initiates an adapter with the delegate.

Selects a DF with their name.

Selects a EF with their name.

Reads binary from the selected file for len octets max.

Verifies the PIN.

Computes a signature using the selected key.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.