pub fn check(cert: &Cert, card: &CardInfo) -> Result<CertCheck, Mismatch>Expand description
Whether cert is the certificate of the security key card: each key on
the card is in it, alive or expired but not revoked, allowed to do what its
slot does, and its public part is the card’s own.