Sensitive data storage.
Definition: data.h:39
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:72
void set_type(Type type)
Set type.
Definition: data.cc:86
virtual ~Data()
Destructor.
Definition: data.cc:62
virtual Data get_data() const
Return self.
Definition: data.cc:65
Data & operator=(const Data &src)
Sensitive_data data_
Sensitive data.
Definition: data.h:70
bool valid_
Validity of Data object.
Definition: data.h:74
std::string Type
Data types.
Definition: data.h:32
std::string Sensitive_data
Definition: data.h:33