Keypop Card C++ API - 2.0.1
Component of the Keypop C++ API
keypop::card::spi::CardSelectionExtensionSpi Class Referenceabstract

Extension of the card selection for a specific card extension. More...

#include <keypop/card/spi/CardSelectionExtensionSpi.hpp>

Public Member Functions

virtual ~CardSelectionExtensionSpi ()=default
 Virtual destructor. More...
 
virtual std::unique_ptr< CardSelectionRequestSpi > getCardSelectionRequest ()=0
 Gets the card selection request containing the selection data prepared for this selection. More...
 
virtual std::shared_ptr< SmartCardSpi > parse (const std::shared_ptr< CardSelectionResponseApi > &cardSelectionResponseApi)=0
 Analyzes the response received from the card during the selection process and creates a SmartCardSpi. More...
 

Detailed Description

Extension of the card selection for a specific card extension.

Provides the CardSelectionRequestSpi and interprets the result to provide a SmartCardSpi.

Backside of the keypop::reader::selection::spi::CardSelectionExtension interface present in the Keypop Reader API.

An adapter of this interface must also implement CardSelectionExtension.

Since
2.0.0

Definition at line 38 of file CardSelectionExtensionSpi.hpp.

Constructor & Destructor Documentation

◆ ~CardSelectionExtensionSpi()

virtual keypop::card::spi::CardSelectionExtensionSpi::~CardSelectionExtensionSpi ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ getCardSelectionRequest()

virtual std::unique_ptr< CardSelectionRequestSpi > keypop::card::spi::CardSelectionExtensionSpi::getCardSelectionRequest ( )
pure virtual

Gets the card selection request containing the selection data prepared for this selection.

Returns
A non-null reference.
Since
1.0.0

◆ parse()

virtual std::shared_ptr< SmartCardSpi > keypop::card::spi::CardSelectionExtensionSpi::parse ( const std::shared_ptr< CardSelectionResponseApi > &  cardSelectionResponseApi)
pure virtual

Analyzes the response received from the card during the selection process and creates a SmartCardSpi.

Parameters
cardSelectionResponseApiThe card selection response.
Returns
A non-null reference.
Exceptions
ParseExceptionIf the card selection response parsing failed.
Since
1.0.0

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