A SAMBasicKeyEntry Key class.
More...
#include <sambasickeyentry.hpp>
◆ ~SAMBasicKeyEntry()
logicalaccess::SAMBasicKeyEntry::~SAMBasicKeyEntry |
( |
| ) |
|
|
virtual |
◆ SAMBasicKeyEntry() [1/4]
logicalaccess::SAMBasicKeyEntry::SAMBasicKeyEntry |
( |
| ) |
|
|
protected |
◆ SAMBasicKeyEntry() [2/4]
logicalaccess::SAMBasicKeyEntry::SAMBasicKeyEntry |
( |
const SAMBasicKeyEntry & |
copy | ) |
|
|
protected |
◆ SAMBasicKeyEntry() [3/4]
logicalaccess::SAMBasicKeyEntry::SAMBasicKeyEntry |
( |
const std::string & |
str, |
|
|
const std::string & |
str1, |
|
|
const std::string & |
str2 |
|
) |
| |
|
protected |
◆ SAMBasicKeyEntry() [4/4]
logicalaccess::SAMBasicKeyEntry::SAMBasicKeyEntry |
( |
const void ** |
buf, |
|
|
size_t |
buflen, |
|
|
char |
numberkey |
|
) |
| |
|
protected |
◆ getData()
unsigned char * logicalaccess::SAMBasicKeyEntry::getData |
( |
| ) |
const |
|
inline |
Get the key data.
- Returns
- The key data.
◆ getDefaultXmlNodeName()
std::string logicalaccess::SAMBasicKeyEntry::getDefaultXmlNodeName |
( |
| ) |
const |
|
virtual |
Get the default Xml Node name for this object.
- Returns
- The Xml node name.
◆ getDiversify()
bool logicalaccess::SAMBasicKeyEntry::getDiversify |
( |
| ) |
const |
|
inline |
Get if the key is diversified on the card.
- Returns
- True if the key is diversified on the card, false otherwise.
◆ getKeysData()
std::vector< ByteVector > logicalaccess::SAMBasicKeyEntry::getKeysData |
( |
| ) |
const |
Get the keys data.
- Returns
- The keys data.
◆ getKeyType()
SAMKeyType logicalaccess::SAMBasicKeyEntry::getKeyType |
( |
| ) |
const |
|
inline |
Get the key type.
- Returns
- The key type.
◆ getLength()
size_t logicalaccess::SAMBasicKeyEntry::getLength |
( |
| ) |
const |
Get the key length.
- Returns
- The key length.
◆ getSingleLength()
size_t logicalaccess::SAMBasicKeyEntry::getSingleLength |
( |
| ) |
const |
◆ getUpdateMask()
unsigned char logicalaccess::SAMBasicKeyEntry::getUpdateMask |
( |
| ) |
const |
|
inline |
◆ getUpdateSettings()
◆ operator!=()
bool logicalaccess::SAMBasicKeyEntry::operator!= |
( |
const SAMBasicKeyEntry & |
key | ) |
const |
|
inline |
Inequality operator.
- Parameters
-
- Returns
- True if inequals, false otherwise.
◆ operator==()
bool logicalaccess::SAMBasicKeyEntry::operator== |
( |
const SAMBasicKeyEntry & |
key | ) |
const |
|
virtual |
Equality operator.
- Parameters
-
- Returns
- True if equals, false otherwise.
◆ SAMKeyEntryTypeStr()
std::string logicalaccess::SAMBasicKeyEntry::SAMKeyEntryTypeStr |
( |
SAMKeyType |
t | ) |
|
|
static |
Get the SAM Key Type in string format.
- Returns
- The key type in string.
◆ serialize()
void logicalaccess::SAMBasicKeyEntry::serialize |
( |
boost::property_tree::ptree & |
parentNode | ) |
|
|
virtual |
Serialize the current object to XML.
- Parameters
-
parentNode | The parent node. |
◆ setDiversify()
void logicalaccess::SAMBasicKeyEntry::setDiversify |
( |
bool |
diversify | ) |
|
|
inline |
Set if the key is diversified on the card.
- Parameters
-
diversify | True if the key is diversified on the card, false otherwise. |
◆ setKeysData()
void logicalaccess::SAMBasicKeyEntry::setKeysData |
( |
std::vector< ByteVector > |
keys, |
|
|
SAMKeyType |
type |
|
) |
| |
|
virtual |
◆ setKeyType()
void logicalaccess::SAMBasicKeyEntry::setKeyType |
( |
SAMKeyType |
keyType | ) |
|
|
inline |
Set the key type.
- Parameters
-
◆ setUpdateMask()
void logicalaccess::SAMBasicKeyEntry::setUpdateMask |
( |
unsigned char |
c | ) |
|
|
inline |
◆ setUpdateSettings()
◆ unSerialize()
void logicalaccess::SAMBasicKeyEntry::unSerialize |
( |
boost::property_tree::ptree & |
node | ) |
|
|
virtual |
UnSerialize a XML node to the current object.
- Parameters
-
◆ d_diversify
bool logicalaccess::SAMBasicKeyEntry::d_diversify |
|
protected |
Diversify the key on the card.
◆ d_key
unsigned char* logicalaccess::SAMBasicKeyEntry::d_key |
|
protected |
◆ d_keyType
SAMKeyType logicalaccess::SAMBasicKeyEntry::d_keyType |
|
protected |
◆ d_updatemask
unsigned char logicalaccess::SAMBasicKeyEntry::d_updatemask |
|
protected |
The documentation for this class was generated from the following files: