7#ifndef LOGICALACCESS_TWICCOMMANDS_HPP
8#define LOGICALACCESS_TWICCOMMANDS_HPP
13#include <logicalaccess/plugins/cards/twic/lla_cards_twic_api.hpp>
25 static size_t getMinimumBytesRepresentation(
size_t value);
27 static size_t getMaximumDataObjectLength(int64_t dataObject);
29 static size_t getMaximumTagLength(int64_t dataObject,
unsigned char tag);
31 static size_t getValueFromBytes(
unsigned char *data,
size_t datalength);
40 size_t getDataObjectLength(int64_t dataObject,
bool withObjectLength =
false);
42 static bool getTagData(std::shared_ptr<TwicLocation> location,
void *data,
43 size_t datalen,
void *datatag,
size_t &datataglen);
93 return std::shared_ptr<ISO7816Commands>();
The Twic commands class.
Definition: twiccommands.hpp:21
virtual ByteVector getCardHolderFingerprints()=0
Get the Cardholder Fingerprints.
virtual ByteVector getTWICPrivacyKey()=0
Get the TWIC Privacy Key.
virtual void selectTWICApplication()=0
Select the TWIC application.
virtual ByteVector getSecurityObject()=0
Get the Security Object.
virtual ByteVector getUnsignedCardholderUniqueIdentifier()=0
Get the Unsigned Cardholder Unique Identifier.
virtual ~TwicCommands()=default
virtual std::shared_ptr< ISO7816Commands > getISO7816Commands() const
Definition: twiccommands.hpp:91
virtual ByteVector getCardholderUniqueIdentifier()=0
Get the Cardholder Unique Identifier.
ISO7816 commands. See http://www.cardwerk.com/smartcards/smartcard_standard_ISO7816-4....
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80