Sensitive data storage.
Definition: data.h:40
bool operator==(const Data &other) const
Comparison.
Definition: data.cc:92
void set_data(const Sensitive_data &data)
Set data.
Definition: data.cc:77
void set_validity()
Set validity of the data object.
Definition: data.cc:97
Type type() const
Get data's type.
Definition: data.cc:71
Data()
Definition: data.cc:37
bool valid() const
Status of object's validity.
Definition: data.cc:74
Sensitive_data data() const
Get data.
Definition: data.cc:68
Type type_
Data type.
Definition: data.h:73
virtual const Data get_data() const
Return self.
Definition: data.cc:65
void set_type(Type type)
Set type.
Definition: data.cc:86
virtual ~Data()
Destructor.
Definition: data.cc:62
Data & operator=(const Data &src)
Sensitive_data data_
Sensitive data.
Definition: data.h:71
bool valid_
Validity of Data object.
Definition: data.h:75
std::string Type
Data types.
Definition: data.h:33
std::string Sensitive_data
Definition: data.h:34
Definition: keyring_encryption_service_definition.h:32