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

#include <DirectoryHeader.hpp>

Public Member Functions

virtual uint16_t getLid () const =0
 
virtual uint8_t getDfStatus () const =0
 
virtual const std::vector< uint8_t > & getAccessConditions () const =0
 
virtual const std::vector< uint8_t > & getKeyIndexes () const =0
 
virtual uint8_t getKif (const WriteAccessLevel writeAccessLevel) const =0
 
virtual uint8_t getKvc (const WriteAccessLevel writeAccessLevel) const =0
 

Detailed Description

Calypso DF metadata.

Since
1.0.0

Definition at line 29 of file DirectoryHeader.hpp.

Member Function Documentation

◆ getAccessConditions()

virtual const std::vector< uint8_t > & keypop::calypso::card::card::DirectoryHeader::getAccessConditions ( ) const
pure virtual

Gets a reference to access conditions.

Returns
A not empty byte array.
Since
1.0.0

◆ getDfStatus()

virtual uint8_t keypop::calypso::card::card::DirectoryHeader::getDfStatus ( ) const
pure virtual

Gets the DF status.

Returns
The DF status byte.
Since
1.0.0

◆ getKeyIndexes()

virtual const std::vector< uint8_t > & keypop::calypso::card::card::DirectoryHeader::getKeyIndexes ( ) const
pure virtual

Gets a reference to keys indexes.

Returns
A not empty byte array.
Since
1.0.0

◆ getKif()

virtual uint8_t keypop::calypso::card::card::DirectoryHeader::getKif ( const WriteAccessLevel  writeAccessLevel) const
pure virtual

Gets the KIF associated to the provided write access level.

Parameters
writeAccessLevelThe write access level (should be not null).
Returns
The KIF value.
Exceptions
IllegalArgumentExceptionif writeAccessLevel is null.
Since
1.0.0

◆ getKvc()

virtual uint8_t keypop::calypso::card::card::DirectoryHeader::getKvc ( const WriteAccessLevel  writeAccessLevel) const
pure virtual

Gets the KVC associated to the provided write access level.

Parameters
writeAccessLevelThe write access level (should be not null).
Returns
The KVC value.
Exceptions
IllegalArgumentExceptionif writeAccessLevel is null.
Since
1.0.0

◆ getLid()

virtual uint16_t keypop::calypso::card::card::DirectoryHeader::getLid ( ) const
pure virtual

Gets the associated LID.

Returns
The LID.
Since
1.0.0

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