Keypop Card C++ API - 2.0.1
Component of the Keypop C++ API
keypop::card Namespace Reference

Namespaces

namespace  spi
 

Classes

class  AbstractApduException
 Generic exception carrying response data received from the card until a communication failure occurs or an unexpected APDU status code is received. More...
 
class  ApduResponseApi
 Data received in response to an APDU command. More...
 
class  CardBrokenCommunicationException
 Exception carrying response data received from the card until a communication failure with the card occurs. More...
 
class  CardResponseApi
 Group of multiple APDU responses. More...
 
class  CardSelectionResponseApi
 Data from the start-up phase with the card: selection data and any additional responses. More...
 
class  ParseException
 Indicates that the parsing of the card selection response has failed. More...
 
class  ProxyReaderApi
 Reader able to transmit card requests and having control over the physical channel. More...
 
class  ReaderBrokenCommunicationException
 Exception carrying response data received from the card until a communication failure with the reader occurs. More...
 
class  UnexpectedStatusWordException
 Exception carrying response data received from the card until an unexpected APDU status word is received. More...
 

Enumerations

enum class  ChannelControl { KEEP_OPEN , CLOSE_AFTER }
 Policy for managing the physical channel after a card request is executed. More...
 

Functions

ChannelControl valueOf (const int value)
 Returns the enum constant of this type with the specified value. More...
 

Enumeration Type Documentation

◆ ChannelControl

enum class keypop::card::ChannelControl
strong

Policy for managing the physical channel after a card request is executed.

Since
1.0.0
Enumerator
KEEP_OPEN 

Leaves the physical channel open.

Since
1.0.0
CLOSE_AFTER 

Terminates communication with the card.


The physical channel closes instantly or a card removal sequence is initiated depending on the observation mode.

Since
1.0.0

Definition at line 23 of file ChannelControl.hpp.

Function Documentation

◆ valueOf()

ChannelControl keypop::card::valueOf ( const int  value)
inline

Returns the enum constant of this type with the specified value.

Parameters
valueThe value of the enum constant to be returned.
Returns
The enum constant with the specified value.
Exceptions
std::invalid_argumentIf this enum has no constant with the specified value.
Since
2.0.1

Definition at line 51 of file ChannelControl.hpp.