LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
logicalaccess::PCSCReaderCardAdapter Class Reference

A default PC/SC reader/card adapter class. More...

#include <pcscreadercardadapter.hpp>

Inheritance diagram for logicalaccess::PCSCReaderCardAdapter:
logicalaccess::ISO7816ReaderCardAdapter logicalaccess::ReaderCardAdapter

Public Member Functions

 PCSCReaderCardAdapter ()
 
virtual ~PCSCReaderCardAdapter ()
 Destructor.
 
- Public Member Functions inherited from logicalaccess::ISO7816ReaderCardAdapter
virtual ISO7816Response sendAPDUCommand (const ByteVector &data)
 Send an APDU command to the reader.
 
virtual ISO7816Response sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned char lc, const ByteVector &data, unsigned char le)
 Send an APDU command to the reader.
 
virtual ISO7816Response sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned char lc, const ByteVector &data)
 Send an APDU command to the reader.
 
virtual ISO7816Response sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, const ByteVector &data)
 Send an APDU command to the reader.
 
virtual ISO7816Response sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned char lc, unsigned char le)
 Send an APDU command to the reader without data.
 
virtual ISO7816Response sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned char le)
 Send an APDU command to the reader without data.
 
virtual ISO7816Response sendAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2)
 Send an APDU command to the reader without data.
 
virtual ISO7816Response sendExtendedAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned short lc, const ByteVector &data)
 Send an extended APDU command to the reader.
 
virtual ISO7816Response sendExtendedAPDUCommand (unsigned char cla, unsigned char ins, unsigned char p1, unsigned char p2, unsigned short lc, const ByteVector &data, unsigned short le)
 Send an extended APDU command to the reader.
 
ByteVector adaptCommand (const ByteVector &command) override
 Adapt the command to send to the reader.
 
ByteVector adaptAnswer (const ByteVector &answer) override
 Adapt the answer received from the reader.
 
void setCrypto (std::shared_ptr< ISO24727Crypto > crypto)
 
- Public Member Functions inherited from logicalaccess::ReaderCardAdapter
virtual ~ReaderCardAdapter ()
 
 ReaderCardAdapter ()
 
virtual ByteVector adaptCommand (const ByteVector &command)
 Adapt the command to send to the reader.
 
virtual ByteVector adaptAnswer (const ByteVector &answer)
 Adapt the answer received from the reader.
 
std::shared_ptr< DataTransportgetDataTransport () const
 Get the data transport.
 
void setDataTransport (std::shared_ptr< DataTransport > dataTransport)
 Set the data transport.
 
virtual ByteVector sendCommand (const ByteVector &command, long timeout=-1)
 Send a command to the reader.
 
virtual std::shared_ptr< ResultCheckergetResultChecker () const
 Get the result checker.
 
virtual void setResultChecker (std::shared_ptr< ResultChecker > checker)
 Set the result checker.
 

Additional Inherited Members

- Protected Attributes inherited from logicalaccess::ReaderCardAdapter
std::shared_ptr< DataTransportd_dataTransport
 The data transport.
 
std::shared_ptr< ResultCheckerd_ResultChecker
 The result checker.
 

Detailed Description

A default PC/SC reader/card adapter class.

Constructor & Destructor Documentation

◆ PCSCReaderCardAdapter()

logicalaccess::PCSCReaderCardAdapter::PCSCReaderCardAdapter ( )

\ brief Constructor.

◆ ~PCSCReaderCardAdapter()

logicalaccess::PCSCReaderCardAdapter::~PCSCReaderCardAdapter ( )
virtual

Destructor.


The documentation for this class was generated from the following files: