Keyple C++
0.9.0
Keyple, an Open Source SDK for Ticketing
|
#include <DirectoryHeader.h>
Classes | |
class | DirectoryHeaderBuilder |
Public Member Functions | |
uint16_t | getLid () const |
const std::vector< uint8_t > & | getAccessConditions () const |
const std::vector< uint8_t > & | getKeyIndexes () const |
uint8_t | getDfStatus () const |
uint8_t | getKif (const AccessLevel &level) const |
uint8_t | getKvc (const AccessLevel &level) const |
bool | operator== (const DirectoryHeader &o) const |
Static Public Member Functions | |
static std::unique_ptr< DirectoryHeaderBuilder > | builder () |
Friends | |
KEYPLECALYPSO_API std::ostream & | operator<< (std::ostream &os, const DirectoryHeader &dh) |
The class
contains all metadata of a Calypso DF.
|
static |
(package-private)
Gets a new builder.
const std::vector< uint8_t > & keyple::calypso::transaction::DirectoryHeader::getAccessConditions | ( | ) | const |
Gets a reference to access conditions.
uint8_t keyple::calypso::transaction::DirectoryHeader::getDfStatus | ( | ) | const |
Gets the DF status.
const std::vector< uint8_t > & keyple::calypso::transaction::DirectoryHeader::getKeyIndexes | ( | ) | const |
Gets a reference to keys indexes.
uint8_t keyple::calypso::transaction::DirectoryHeader::getKif | ( | const AccessLevel & | level | ) | const |
Gets the KIF associated to the provided session access level.
level | the session access level (should be not null) |
IllegalArgumentException | if level is null. |
NoSuchElementException | if KIF is not found. |
uint8_t keyple::calypso::transaction::DirectoryHeader::getKvc | ( | const AccessLevel & | level | ) | const |
Gets the KVC associated to the provided session access level.
level | the session access level (should be not null) |
IllegalArgumentException | if level is null. |
NoSuchElementException | if KVC is not found. |
uint16_t keyple::calypso::transaction::DirectoryHeader::getLid | ( | ) | const |
Gets the associated LID.
bool keyple::calypso::transaction::DirectoryHeader::operator== | ( | const DirectoryHeader & | o | ) | const |
Comparison is based on field "lid".
o | the object to compare |
|
friend |