Keypop Card C++ API 2.0.0
Reference Card API for C++
Public Member Functions | List of all members
keypop::card::spi::CardSelectionExtensionSpi Class Referenceabstract

#include <CardSelectionExtensionSpi.hpp>

Public Member Functions

virtual ~CardSelectionExtensionSpi ()=default
 
virtual const std::shared_ptr< CardSelectionRequestSpigetCardSelectionRequest () const =0
 
virtual std::shared_ptr< SmartCardSpiparse (const std::shared_ptr< CardSelectionRequestSpi > cardSelectionResponseApi) const =0
 

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 org.eclipse.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 32 of file CardSelectionExtensionSpi.hpp.

Constructor & Destructor Documentation

◆ ~CardSelectionExtensionSpi()

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

Virtual destructor.

Member Function Documentation

◆ getCardSelectionRequest()

virtual const std::shared_ptr< CardSelectionRequestSpi > keypop::card::spi::CardSelectionExtensionSpi::getCardSelectionRequest ( ) const
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< CardSelectionRequestSpi cardSelectionResponseApi) const
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: