A DtKlvKey instance represents a KLV (Key-Length-Value) Key field.
More...
Public Member Functions |
| | DtKlvKey () |
| | Default CTOR.
|
| | DtKlvKey (unsigned char *universalKey) |
| | CTOR This version takes a key represented as a string.
|
| | DtKlvKey (unsigned int tag, Encoding encoding) |
| | CTOR This CTOR takes the tag and encoding type.
|
| | ~DtKlvKey () |
| bool | operator== (const DtKlvKey &rhs) |
| | Comparison operator.
|
| unsigned char * | bytes () |
| | Get the set of bytes that makes up this key.
|
| void | setBytes (unsigned char *buffer, unsigned int length, Encoding enc) |
| | Set the key as a set of bytes.
|
| void | setBytes (std::string stringRep) |
| unsigned int | bytesLength () |
| | Get the number of bytes in the key.
|
| Encoding | encoding () |
| | Get the encoding type used by this key.
|
| void | setEncoding (Encoding enc) |
| | Set the encoding type used by this key.
|
| unsigned int | tag () |
| | Get the key tag not valid for 16 byte Universal Keys.
|
| void | setTag (unsigned int value) |
| | Set the key tag.
|
Detailed Description
A DtKlvKey instance represents a KLV (Key-Length-Value) Key field.
Member Enumeration Documentation
- Enumerator:
| BER |
Basic Encoding Rules.
|
| BER_OID |
Basic Encoding Rules - Object Identifier.
|
| _16B |
16 byte universal key
|
Constructor & Destructor Documentation
| makVrv::DtKlvKey::DtKlvKey |
( |
| ) |
|
| makVrv::DtKlvKey::DtKlvKey |
( |
unsigned char * |
universalKey | ) |
|
CTOR This version takes a key represented as a string.
| makVrv::DtKlvKey::DtKlvKey |
( |
unsigned int |
tag, |
|
|
Encoding |
encoding |
|
) |
| |
CTOR This CTOR takes the tag and encoding type.
| makVrv::DtKlvKey::~DtKlvKey |
( |
| ) |
|
Member Function Documentation
| unsigned char* makVrv::DtKlvKey::bytes |
( |
| ) |
|
Get the set of bytes that makes up this key.
| void makVrv::DtKlvKey::setBytes |
( |
unsigned char * |
buffer, |
|
|
unsigned int |
length, |
|
|
Encoding |
enc |
|
) |
| |
Set the key as a set of bytes.
| void makVrv::DtKlvKey::setBytes |
( |
std::string |
stringRep | ) |
|
| unsigned int makVrv::DtKlvKey::bytesLength |
( |
| ) |
|
Get the number of bytes in the key.
Get the encoding type used by this key.
| void makVrv::DtKlvKey::setEncoding |
( |
Encoding |
enc | ) |
|
Set the encoding type used by this key.
| unsigned int makVrv::DtKlvKey::tag |
( |
| ) |
|
Get the key tag not valid for 16 byte Universal Keys.
| void makVrv::DtKlvKey::setTag |
( |
unsigned int |
value | ) |
|
Member Data Documentation
| unsigned char makVrv::DtKlvKey::myBytes[16] |
|
protected |
| unsigned int makVrv::DtKlvKey::myTagLength |
|
protected |
The documentation for this class was generated from the following file: