Skip to main content

pin_for

Function pin_for 

Source
fn pin_for(
    ident: &str,
    typed: Option<&Password>,
    purpose: Purpose,
) -> Result<(CardInfo, Option<Password>), CardError>
Expand description

The PIN to use: the one typed, else the one held (not for a key that asks it for each signature, decision 5); with what the key says, read without its PIN. None as the PIN: the band asks for it.