RSA_free (rsa);
BIO_free (bio);
+
+ _annotation_text = kdm.annotation_text ();
+ _content_title_text = kdm.content_title_text ();
+ _issue_date = kdm.issue_date ();
}
DecryptedKDM::DecryptedKDM (
return _keys;
}
+ std::string annotation_text () const {
+ return _annotation_text;
+ }
+
+ std::string content_title_text () const {
+ return _content_title_text;
+ }
+
+ std::string issue_date () const {
+ return _issue_date;
+ }
+
private:
LocalTime _not_valid_before;
LocalTime _not_valid_after;
{
return _data->authenticated_private.encrypted_key;
}
+
+string
+EncryptedKDM::annotation_text () const
+{
+ return _data->authenticated_public.annotation_text;
+}
+
+string
+EncryptedKDM::content_title_text () const
+{
+ return _data->authenticated_public.required_extensions.kdm_required_extensions.content_title_text;
+}
+
+string
+EncryptedKDM::issue_date () const
+{
+ return _data->authenticated_public.issue_date;
+}
*/
std::list<std::string> keys () const;
+ std::string annotation_text () const;
+ std::string content_title_text () const;
+ std::string issue_date () const;
+
private:
friend class DecryptedKDM;