|
| BinaryFieldValue () |
| Build an empty Binary field value.
|
|
| BinaryFieldValue (const std::string &str) |
| Build a Binary field value given a string representation of it.
|
|
| BinaryFieldValue (const ByteVector &buf) |
| Build a Binary field value given a buffer.
|
|
virtual | ~BinaryFieldValue ()=default |
|
size_t | getLength () const override |
| Get the field length.
|
|
const unsigned char * | getData () const override |
| Get the key data.
|
|
unsigned char * | getData () override |
| Get the key data.
|
|
void | serialize (boost::property_tree::ptree &parentNode) override |
| Serialize the current object to XML.
|
|
void | unSerialize (boost::property_tree::ptree &node) override |
| UnSerialize a XML node to the current object.
|
|
std::string | getDefaultXmlNodeName () const override |
| Get the default Xml Node name for this object.
|
|
| Key () |
| Constructor.
|
|
virtual | ~Key ()=default |
|
virtual void | clear () |
| Set the key to its default (only 0's).
|
|
virtual size_t | getLength () const =0 |
| Get the key length.
|
|
virtual const unsigned char * | getData () const =0 |
| Get the key data.
|
|
virtual unsigned char * | getData ()=0 |
| Get the key data.
|
|
virtual void | setData (const unsigned char *data) |
| Set the key data.
|
|
virtual void | setData (const ByteVector &data, size_t offset=0) |
| Set the key data.
|
|
std::string | getString (bool withSpace=true) const |
| Get the string representation of the key.
|
|
bool | isEmpty () const |
| Get if key data are empty.
|
|
virtual bool | fromString (const std::string &str) |
| Set the key from a string representation of it.
|
|
void | setKeyStorage (std::shared_ptr< KeyStorage > key_storage) |
| Set the key storage used for this key.
|
|
std::shared_ptr< KeyStorage > | getKeyStorage () const |
| Get the key storage used for this key.
|
|
void | serialize (boost::property_tree::ptree &node) override |
| Serialize the current object to XML.
|
|
void | unSerialize (boost::property_tree::ptree &node) override |
| UnSerialize a XML node to the current object.
|
|
virtual bool | operator== (const Key &key) const |
| Equality operator.
|
|
virtual bool | operator!= (const Key &key) const |
| Inequality operator.
|
|
void | setCipherKey (const std::string &key) |
| Set the cipher key.
|
|
void | setStoreCipheredData (bool cipher) |
| Set if the data is stored ciphered.
|
|
bool | getStoreCipheredData () const |
| Get if the data is stored ciphered.
|
|
void | setKeyDiversification (std::shared_ptr< KeyDiversification > div) |
|
std::shared_ptr< KeyDiversification > | getKeyDiversification () const |
|
ByteVector | getBytes () const |
|
virtual | ~XmlSerializable ()=default |
|
virtual std::string | serialize () |
| Serialize object to Xml Node string.
|
|
virtual std::string | serializeWithHeaders () |
| Serialize object to Xml Node string, with xml headers.
|
|
virtual void | serialize (boost::property_tree::ptree &parentNode)=0 |
| Serialize object to Xml Node.
|
|
virtual void | serializeToFile (const std::string &filename) |
| Serialize object to a Xml file.
|
|
virtual void | unSerialize (boost::property_tree::ptree &node)=0 |
| UnSerialize object from a Xml Node.
|
|
virtual void | unSerialize (const std::string &xmlstring, const std::string &rootNode) |
| UnSerialize object from a Xml Node string.
|
|
virtual void | unSerialize (std::istream &is, const std::string &rootNode) |
| UnSerialize object from a Xml node.
|
|
virtual void | unSerialize (boost::property_tree::ptree &node, const std::string &rootNode) |
| UnSerialize object from a Xml node.
|
|
virtual void | unSerializeFromFile (const std::string &filename) |
| UnSerialize object from a Xml file.
|
|
virtual std::string | getDefaultXmlNodeName () const =0 |
| Get the default Xml Node name for this object.
|
|