diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-06 12:38:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-06 12:38:47 +0100 |
| commit | 4c2e6d70f15deb7e571af4a49c8643d3957f7b99 (patch) | |
| tree | e6f3dc6fdf62bf31edd973469f9c062f7f569b02 /src/encrypted_kdm.cc | |
| parent | d97e1600057d796c4163cecf28f9f04a6ea6402b (diff) | |
Add some KDM metadata accessors.
Diffstat (limited to 'src/encrypted_kdm.cc')
| -rw-r--r-- | src/encrypted_kdm.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/encrypted_kdm.cc b/src/encrypted_kdm.cc index 5b596b80..d856c5e1 100644 --- a/src/encrypted_kdm.cc +++ b/src/encrypted_kdm.cc @@ -608,3 +608,21 @@ EncryptedKDM::keys () const { 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; +} |
