reports that this doesn't work with his setup;
a working KDM does not include the recipient's
thumbprint (recipient.thumbprint()).
+ Waimea uses only the trusted devices here, too.
*/
BOOST_FOREACH (Certificate const & i, trusted_devices) {
kre.authorized_device_info.certificate_thumbprints.push_back (i.thumbprint ());
return _data->authenticated_public.issue_date;
}
+LocalTime
+EncryptedKDM::not_valid_before () const
+{
+ return _data->authenticated_public.required_extensions.kdm_required_extensions.not_valid_before;
+}
+
+LocalTime
+EncryptedKDM::not_valid_after () const
+{
+ return _data->authenticated_public.required_extensions.kdm_required_extensions.not_valid_after;
+}
+
bool
dcp::operator== (EncryptedKDM const & a, EncryptedKDM const & b)
{