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

A ISO7816 response message. More...

#include <iso7816response.hpp>

Public Member Functions

 ISO7816Response ()
 
 ISO7816Response (const ByteVector &data, unsigned char sw1, unsigned char sw2)
 
 ISO7816Response (const ByteVector &data)
 
unsigned char getSW1 () const
 
unsigned char getSW2 () const
 
const ByteVectorgetData () const
 
ByteVector getCompleteResponse ()
 

Private Attributes

unsigned char sw1_
 SW1 Response Status Code.
 
unsigned char sw2_
 SW2 Response Status Code.
 
ByteVector data_
 Data Response.
 

Detailed Description

A ISO7816 response message.

Constructor & Destructor Documentation

◆ ISO7816Response() [1/3]

logicalaccess::ISO7816Response::ISO7816Response ( )
inline

◆ ISO7816Response() [2/3]

logicalaccess::ISO7816Response::ISO7816Response ( const ByteVector data,
unsigned char  sw1,
unsigned char  sw2 
)
inline

◆ ISO7816Response() [3/3]

logicalaccess::ISO7816Response::ISO7816Response ( const ByteVector data)
inlineexplicit

Member Function Documentation

◆ getCompleteResponse()

ByteVector logicalaccess::ISO7816Response::getCompleteResponse ( )
inline

◆ getData()

const ByteVector & logicalaccess::ISO7816Response::getData ( ) const
inline

◆ getSW1()

unsigned char logicalaccess::ISO7816Response::getSW1 ( ) const
inline

◆ getSW2()

unsigned char logicalaccess::ISO7816Response::getSW2 ( ) const
inline

Member Data Documentation

◆ data_

ByteVector logicalaccess::ISO7816Response::data_
private

Data Response.

◆ sw1_

unsigned char logicalaccess::ISO7816Response::sw1_
private

SW1 Response Status Code.

◆ sw2_

unsigned char logicalaccess::ISO7816Response::sw2_
private

SW2 Response Status Code.


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