LibLogicalAccess
2.5.0
An Open Source RFID Library
|
A SAMKeyEntry class. More...
#include <samkeyentry.hpp>
Public Member Functions | |
SAMKeyEntry () | |
SAMKeyEntry (const std::string &str, const std::string &str1="", const std::string &str2="") | |
SAMKeyEntry (const void **buf, size_t buflen, char numberkey) | |
~SAMKeyEntry () | |
Destructor. | |
bool | operator!= (const SAMKeyEntry &key) const |
Inequality operator. | |
void | setSET (unsigned char *t) |
S | getSETStruct () |
void | setSET (const S &t) |
T & | getKeyEntryInformation () |
void | setKeyEntryInformation (const T &t) |
void | setKeyTypeFromSET () |
void | setSETKeyTypeFromKeyType () |
void | setKeysData (std::vector< ByteVector > keys, SAMKeyType type) override |
Set the keys data. | |
![]() | |
virtual | ~SAMBasicKeyEntry () |
Destructor. | |
size_t | getLength () const |
Get the key length. | |
std::vector< ByteVector > | getKeysData () const |
Get the keys data. | |
virtual void | setKeysData (std::vector< ByteVector > keys, SAMKeyType type) |
Set the keys data. | |
unsigned char * | getData () const |
Get the key data. | |
void | setDiversify (bool diversify) |
Set if the key is diversified on the card. | |
bool | getDiversify () const |
Get if the key is diversified on the card. | |
void | setKeyType (SAMKeyType keyType) |
Set the key type. | |
SAMKeyType | getKeyType () const |
Get the key type. | |
virtual void | serialize (boost::property_tree::ptree &parentNode) |
Serialize the current object to XML. | |
virtual void | unSerialize (boost::property_tree::ptree &node) |
UnSerialize a XML node to the current object. | |
virtual std::string | getDefaultXmlNodeName () const |
Get the default Xml Node name for this object. | |
virtual bool | operator== (const SAMBasicKeyEntry &key) const |
Equality operator. | |
bool | operator!= (const SAMBasicKeyEntry &key) const |
Inequality operator. | |
size_t | getSingleLength () const |
unsigned char | getUpdateMask () const |
void | setUpdateMask (unsigned char c) |
KeyEntryUpdateSettings | getUpdateSettings () |
void | setUpdateSettings (const KeyEntryUpdateSettings &t) |
Private Attributes | |
T | d_keyentryinformation |
Additional Inherited Members | |
![]() | |
static std::string | SAMKeyEntryTypeStr (SAMKeyType t) |
Get the SAM Key Type in string format. | |
![]() | |
SAMBasicKeyEntry () | |
SAMBasicKeyEntry (const SAMBasicKeyEntry ©) | |
SAMBasicKeyEntry (const std::string &str, const std::string &str1, const std::string &str2) | |
SAMBasicKeyEntry (const void **buf, size_t buflen, char numberkey) | |
![]() | |
unsigned char * | d_key |
The key bytes;. | |
bool | d_diversify |
Diversify the key on the card. | |
SAMKeyType | d_keyType |
The SAM key type. | |
unsigned char | d_updatemask |
A SAMKeyEntry class.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
Destructor.
|
inline |
|
inline |
|
inline |
Inequality operator.
ai | SAMKeyEntry key to compare. |
|
inline |
|
inlineoverridevirtual |
Set the keys data.
Reimplemented from logicalaccess::SAMBasicKeyEntry.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |