Skip to content

Latest commit

 

History

History

pcsc-relay

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PC/SC Relay

Welcome to PC/SC Relay. The purpose of PC/SC Relay is to relay a smart card using an contact-less interface. Currently the following contact-less emulators are supported:

Command APDUs are received with the contact-less interface and relayed. The Response APDUs are then sent back via RFID. The contact-less data will be relayed to one of the following connectors:

  • to a real smart card inserted into one of the systems' smart card readers. The smart card reader must be accessible with PC/SC. The smart card may be contact-based or contact-less.
  • to a virtual smart card that directly connects to pcsc-relay. The virtual smart card's native interface is used and (despite its name) PC/SC Relay does not need to access PC/SC in this case.
 ┌────────┐          ┌──────────┐          ┌─────────┐
 │Emulator│          │pcsc-relay│          │Connector│
 └───┬────┘          └────┬─────┘          └────┬────┘
     │    Command APDU    │                     │     
     │ ───────────────────>                     │     
     │                    │ ───────────────────>│     
     │                    │ <───────────────────│     
     │    Response APDU   │                     │     
     │ <───────────────────                     │     
 ┌───┴────┐          ┌────┴─────┐          ┌────┴────┐
 │Emulator│          │pcsc-relay│          │Connector│
 └────────┘          └──────────┘          └─────────┘