summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-20 20:03:48 +0000
committerCarl Hetherington <cth@carlh.net>2019-03-20 20:03:48 +0000
commit9763bc2ef330fd8cca7aa7cbc851969c264914bd (patch)
tree84ff090b547116bc16bf002c85bbe8df90dfec50 /tools
parenta4b57f2a429d2979c0603c868626f94919a00fd8 (diff)
More bits in dcpkdm.
Diffstat (limited to 'tools')
-rw-r--r--tools/dcpkdm.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/dcpkdm.cc b/tools/dcpkdm.cc
index 7104b547..faad95d6 100644
--- a/tools/dcpkdm.cc
+++ b/tools/dcpkdm.cc
@@ -99,11 +99,13 @@ main (int argc, char* argv[])
dcp::EncryptedKDM enc_kdm (dcp::file_to_string (kdm_file));
if (enc_kdm.annotation_text()) {
- cout << "Annotation: " << enc_kdm.annotation_text().get() << "\n";
+ cout << "Annotation: " << enc_kdm.annotation_text().get() << "\n";
}
- cout << "Content title: " << enc_kdm.content_title_text() << "\n";
- cout << "CPL id: " << enc_kdm.cpl_id() << "\n";
- cout << "Recipient: " << enc_kdm.recipient_x509_subject_name() << "\n";
+ cout << "Content title: " << enc_kdm.content_title_text() << "\n";
+ cout << "CPL id: " << enc_kdm.cpl_id() << "\n";
+ cout << "Recipient: " << enc_kdm.recipient_x509_subject_name() << "\n";
+ cout << "Not valid before: " << enc_kdm.not_valid_before().as_string() << "\n";
+ cout << "Not valid after: " << enc_kdm.not_valid_after().as_string() << "\n";
cout << "Signer chain:\n";
dcp::CertificateChain signer = enc_kdm.signer_certificate_chain ();