diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/encrypted_kdm.cc | 6 | ||||
| -rw-r--r-- | src/encrypted_kdm.h | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/encrypted_kdm.cc b/src/encrypted_kdm.cc index 80c5e2ef..8251007b 100644 --- a/src/encrypted_kdm.cc +++ b/src/encrypted_kdm.cc @@ -688,6 +688,12 @@ EncryptedKDM::not_valid_after () const return _data->authenticated_public.required_extensions.kdm_required_extensions.not_valid_after; } +string +EncryptedKDM::recipient_x509_subject_name () const +{ + return _data->authenticated_public.required_extensions.kdm_required_extensions.recipient.x509_subject_name; +} + bool dcp::operator== (EncryptedKDM const & a, EncryptedKDM const & b) { diff --git a/src/encrypted_kdm.h b/src/encrypted_kdm.h index edbf5192..1605d911 100644 --- a/src/encrypted_kdm.h +++ b/src/encrypted_kdm.h @@ -90,8 +90,9 @@ public: std::string content_title_text () const; std::string issue_date () const; std::string cpl_id () const; - LocalTime not_valid_before() const; - LocalTime not_valid_after() const; + LocalTime not_valid_before () const; + LocalTime not_valid_after () const; + std::string recipient_x509_subject_name () const; private: |
