|
KeyStorageType | getType () const override |
| Get the key storage type.
|
|
std::string | getDefaultXmlNodeName () const override |
| Get the default Xml Node name for this object.
|
|
void | serialize (boost::property_tree::ptree &parentNode) override |
| Serialize object to Xml Node.
|
|
void | unSerialize (boost::property_tree::ptree &node) override |
| UnSerialize object from a Xml Node.
|
|
const ByteVector & | get_key_id () const |
|
void | set_key_id (const ByteVector &keyid) |
|
size_t | get_slot_id () const |
|
void | set_slot_id (size_t slot_id) |
|
const std::string & | get_pkcs_session_password () const |
|
void | set_pkcs_session_password (const std::string &pwd) |
|
const std::string & | get_proteccio_conf_dir () const |
|
void | set_proteccio_conf_dir (const std::string &d) |
|
const std::string & | get_pkcs_shared_object_path () const |
|
void | set_pkcs_shared_object_path (const std::string &d) |
|
virtual | ~KeyStorage ()=default |
|
virtual KeyStorageType | getType () const =0 |
| Get the key storage type.
|
|
void | serialize (boost::property_tree::ptree &parentNode) override |
| Serialize object to Xml Node.
|
|
void | unSerialize (boost::property_tree::ptree &node) override |
| UnSerialize object from a Xml Node.
|
|
std::string | getMetadata (const std::string &key) |
|
bool | hasMetadata (const std::string &key) const |
|
void | addMetadata (const std::string &key, const std::string &value) |
|
virtual std::string | serialize () |
| Serialize object to Xml Node string.
|
|
virtual void | serialize (boost::property_tree::ptree &parentNode)=0 |
| Serialize object to Xml Node.
|
|
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 | ~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.
|
|
A storage to represent a key store in a PKCS token.