![]() |
VR-Forces Developer's Guide
|
A DtKlvKey instance represents a KLV (Key-Length-Value) Key field.
Public Types | |
| enum | Encoding { BER, BER_OID, _16B } |
Public Member Functions | |
| DtKlvKey () | |
| DtKlvKey (unsigned char *universalKey) | |
| DtKlvKey (unsigned int tag, Encoding encoding) | |
| ~DtKlvKey () | |
| bool | operator== (const DtKlvKey &rhs) |
| unsigned char * | bytes () |
| void | setBytes (unsigned char *buffer, unsigned int length, Encoding enc) |
| void | setBytes (std::string stringRep) |
| unsigned int | bytesLength () |
| Encoding | encoding () |
| void | setEncoding (Encoding enc) |
| unsigned int | tag () |
| void | setTag (unsigned int value) |
Protected Attributes | |
| unsigned char | myBytes [16] |
| unsigned int | myTagLength |
| Encoding | myEncoding |
| makVrv::DtKlvKey::DtKlvKey | ( | ) |
Default CTOR.
CTOR This version takes a key represented as a string.
CTOR This CTOR takes the tag and encoding type.
| makVrv::DtKlvKey::~DtKlvKey | ( | ) |
Set the key as a set of bytes.
| void makVrv::DtKlvKey::setBytes | ( | std::string | stringRep | ) |
| Encoding makVrv::DtKlvKey::encoding | ( | ) |
Get the encoding type used by this key.
| void makVrv::DtKlvKey::setEncoding | ( | Encoding | enc | ) |
Set the encoding type used by this key.
|
protected |