Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | Public Attributes | List of all members
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder Class Reference

#include <SeSelector.h>

Public Member Functions

AidSelectorBuilderaidToSelect (const std::vector< uint8_t > &aid)
 
AidSelectorBuilderaidToSelect (const std::string &aid)
 
AidSelectorBuilderfileOccurrence (const FileOccurrence &fileOccurrence)
 
AidSelectorBuilderfileControlInformation (const FileControlInformation &fileControlInformation)
 
std::shared_ptr< AidSelectorbuild ()
 

Public Attributes

friend AidSelector
 
std::vector< uint8_t > mAidToSelect
 
FileOccurrence mFileOccurrence = FileOccurrence::FIRST
 
FileControlInformation mFileControlInformation
 

Detailed Description

Builder of keyple::core::seproxy::SeSelector::AidSelector

Since
0.9

Member Function Documentation

◆ aidToSelect() [1/2]

AidSelectorBuilder & keyple::core::seproxy::AidSelectorBuilder::aidToSelect ( const std::string &  aid)

Sets the AID

Parameters
aidthe AID as an hex string
Returns
the builder instance

◆ aidToSelect() [2/2]

AidSelectorBuilder & keyple::core::seproxy::AidSelectorBuilder::aidToSelect ( const std::vector< uint8_t > &  aid)

Sets the AID

Parameters
aidthe AID as an array of bytes
Returns
the builder instance

◆ build()

std::shared_ptr< AidSelector > keyple::core::seproxy::AidSelectorBuilder::build ( )

Build a new

.

Returns
a new instance

◆ fileControlInformation()

AidSelectorBuilder & keyple::core::seproxy::AidSelectorBuilder::fileControlInformation ( const FileControlInformation fileControlInformation)

Sets the file control mode (see ISO7816-4)

Parameters
fileControlInformationthe FileControlInformation
Returns
the builder instance

◆ fileOccurrence()

AidSelectorBuilder & keyple::core::seproxy::AidSelectorBuilder::fileOccurrence ( const FileOccurrence fileOccurrence)

Sets the file occurence mode (see ISO7816-4)

Parameters
fileOccurrencethe FileOccurrence
Returns
the builder instance

Member Data Documentation

◆ AidSelector

friend keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::AidSelector

Friend declaration to allow access to private members to AisSelector

◆ mAidToSelect

std::vector<uint8_t> keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::mAidToSelect

/!\ C++ vs. Java: variable is private in JAva

◆ mFileControlInformation

FileControlInformation keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::mFileControlInformation
Initial value:

/!\ C++ vs. Java: variable is private in JAva

◆ mFileOccurrence

FileOccurrence keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::mFileOccurrence = FileOccurrence::FIRST

/!\ C++ vs. Java: variable is private in JAva


The documentation for this class was generated from the following files:
keyple::core::seproxy::SeSelector::AidSelector::AidSelectorBuilder::AidSelector
friend AidSelector
Definition: SeSelector.h:195
keyple::core::seproxy::SeSelector::AidSelector::FileControlInformation::FCI
static const FileControlInformation FCI
Definition: SeSelector.h:134