Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | Protected Member Functions | List of all members
keyple::calypso::command::po::parser::security::CloseSessionRespPars Class Referencefinal

#include <CloseSessionRespPars.h>

Inherits keyple::calypso::command::po::AbstractPoResponseParser.

Public Member Functions

 CloseSessionRespPars (std::shared_ptr< ApduResponse > response, CloseSessionCmdBuild *builder)
 
const std::vector< uint8_t > & getSignatureLo () const
 
const std::vector< uint8_t > & getPostponedData () const
 
- Public Member Functions inherited from keyple::calypso::command::po::AbstractPoResponseParser
 AbstractPoResponseParser (std::shared_ptr< ApduResponse > response, AbstractPoCommandBuilder< AbstractPoResponseParser > *builder)
 
 AbstractPoResponseParser (const AbstractPoResponseParser &arp)=default
 
virtual ~AbstractPoResponseParser ()=default
 
virtual AbstractPoCommandBuilder< AbstractPoResponseParser > * getBuilder () const override
 
void checkStatus () const override
 
- Public Member Functions inherited from keyple::core::command::AbstractApduResponseParser
 AbstractApduResponseParser (const std::shared_ptr< ApduResponse > response, AbstractApduCommandBuilder *builder)
 
 AbstractApduResponseParser (const AbstractApduResponseParser &aarp)=default
 
virtual ~AbstractApduResponseParser ()=default
 
void setApduResponse (const std::shared_ptr< ApduResponse > &response)
 
const std::shared_ptr< ApduResponsegetApduResponse () const
 
virtual bool isSuccessful () const
 
std::string getStatusInformation () const
 

Protected Member Functions

const std::map< int, std::shared_ptr< StatusProperties > > & getStatusTable () const override
 
- Protected Member Functions inherited from keyple::calypso::command::po::AbstractPoResponseParser
const KeypleSeCommandException buildCommandException (const std::type_info &exceptionClass, const std::string &message, const std::shared_ptr< SeCommand > commandRef, const int statusCode) const override
 
- Protected Member Functions inherited from keyple::core::command::AbstractApduResponseParser
virtual const std::shared_ptr< SeCommandgetCommandRef () const
 

Additional Inherited Members

- Protected Attributes inherited from keyple::core::command::AbstractApduResponseParser
std::shared_ptr< ApduResponsemResponse
 
AbstractApduCommandBuildermBuilder
 
- Static Protected Attributes inherited from keyple::core::command::AbstractApduResponseParser
static const std::map< int, std::shared_ptr< StatusProperties > > STATUS_TABLE
 

Detailed Description

Close Secure Session (008E) response parser. See specs: Calypso / page 104 / 9.5.2 - Close Secure Session

Constructor & Destructor Documentation

◆ CloseSessionRespPars()

keyple::calypso::command::po::parser::security::CloseSessionRespPars::CloseSessionRespPars ( std::shared_ptr< ApduResponse response,
CloseSessionCmdBuild builder 
)

Instantiates a new CloseSessionRespPars from the response.

Parameters
responsefrom CloseSessionCmdBuild
builderthe reference to the builder that created this parser

Member Function Documentation

◆ getPostponedData()

const std::vector< uint8_t > & keyple::calypso::command::po::parser::security::CloseSessionRespPars::getPostponedData ( ) const

◆ getSignatureLo()

const std::vector< uint8_t > & keyple::calypso::command::po::parser::security::CloseSessionRespPars::getSignatureLo ( ) const

◆ getStatusTable()

const std::map< int, std::shared_ptr< StatusProperties > > & keyple::calypso::command::po::parser::security::CloseSessionRespPars::getStatusTable ( ) const
overrideprotectedvirtual
Returns
the internal status table

Reimplemented from keyple::core::command::AbstractApduResponseParser.


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