Expand description
Driver for the Spanish electronic ID card (DNIe) that talks APDU to the card, without PKCS#11 or system drivers.
Structs§
- Atr
- A card’s Answer To Reset, as JMulticard’s
Atr; displays itself asDnieAtr.toString. - Holder
- Holder data in the subject of a DNIe certificate; a field the subject lacks is
None. - KeyReference
- Private key on the card, as the PrKDF describes it.
- Pcsc
Transport - PC/SC transport:
PCSC.frameworkon macOS, WinSCard on Windows and pcsc-lite on Linux. - Pin
- The holder’s PIN, wiped from memory when dropped.
- Session
- Session with a DNIe 3.0/4.0 over any
Transport. - Status
Word - SW1-SW2 status word.
Enums§
- Digest
Algorithm - Digest algorithm of the digest to sign.
- Error
- Failures talking to the DNIe.
- KeyGeneration
- Key generation the DGP issued the terminal keys in.
Constants§
- INTERMEDIATE_
CA_ LABEL - Label of the DNIe intermediate CA certificate, which has no key on the card.
- SIGNATURE_
LABEL - Label of the holder’s signature certificate, whose key signs.
Traits§
- Port
- Sends bytes to the card inside a
Transport::transaction. - Transport
- The connection to the card: PC/SC in production, an emulator in tests.