Crate ifd_jcecard

Crate ifd_jcecard 

Source
Expand description

IFD Handler for jcecard virtual OpenPGP/PIV card

This is a PC/SC IFD (Interface Device) handler that implements a virtual smart card reader with embedded OpenPGP and PIV applets.

The virtual card supports:

  • OpenPGP card specification (ISO/IEC 7816-4/8)
  • PIV card specification (NIST SP 800-73-4)

Modules§

apdu
APDU (Application Protocol Data Unit) handling
card
Card data structures and storage
crypto
Cryptographic Operations
openpgp
OpenPGP Card Applet
piv
PIV (Personal Identity Verification) Applet
tlv
TLV (Tag-Length-Value) encoding and decoding

Structs§

SCARD_IO_HEADER

Functions§

IFDHCloseChannel
Close the communication channel
IFDHControl
Control the reader (not supported)
IFDHCreateChannel
Create a communication channel (legacy)
IFDHCreateChannelByName
Create a communication channel to the reader
IFDHGetCapabilities
Get reader capabilities
IFDHICCPresence
Check if ICC is present
IFDHPowerICC
Power the ICC (Integrated Circuit Card)
IFDHSetCapabilities
Set reader capabilities (not supported)
IFDHSetProtocolParameters
Set protocol parameters (minimal implementation)
IFDHTransmitToICC
Transmit data to the ICC