summaryrefslogtreecommitdiff
path: root/test/certificates_test.cc
AgeCommit message (Collapse)Author
2025-11-13Don't check the certificate not before/after validity in chain_valid().v1.10.40Carl Hetherington
I think this should be checked separately, as out-of-date certificates are still useful (e.g. if they are related to KDM decryption).
2025-06-14Update test certs after expiry.v1.10.23Carl Hetherington
2024-01-09Fix escaping of certificate dnQualifier (public key digests) on creation ↵v1.8.93Carl Hetherington
(DoM #2716).
2022-04-22Fix some macOS signed/unsigned warnings.Carl Hetherington
2022-02-12Pass certificate validity length into the constructor.v1.8.7Carl Hetherington
2022-02-12Cleanup: use dcp::LocalTime for certificate validity times.Carl Hetherington
Before we were using struct tm but not filling it all in, which seems quite unpleasant.
2021-01-08std::shared_ptrCarl Hetherington
2019-12-01Fix incorrect month when returning not-before/not-after.Carl Hetherington
2019-03-16Fix some GPL boilerplate.Carl Hetherington
2017-06-27Add another test.Carl Hetherington
2017-06-05Fix up management of certificate chain validity.Carl Hetherington
2016-11-10Fix build with OpenSSL 1.1 and later.Carl Hetherington
2016-08-25Allow reading of certificate chains from strings.Carl Hetherington
This also makes the Certificate constructor throw if it finds extra stuff after a certificate it is loading.
2016-06-01Still more licence fixups.Carl Hetherington
2016-01-27Check for trailing data when loading certificates.Carl Hetherington
2015-12-11Allow certificates with preamble before BEGIN CERTIFICATE (dcpomatic #774).Carl Hetherington
2015-11-13Cope with certificate files that have no line breaks.Carl Hetherington
2015-07-30Merge Signer into CertificateChain.Carl Hetherington
2015-07-30Rename certificates.{cc,h} -> certificate.{cc,h}.Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-08Some comments and test tweaks.Carl Hetherington
2015-06-05Fix test refs.Carl Hetherington
2015-05-23Somewhat speculative reordering of Certificate::name_for_xml.Carl Hetherington
2015-01-28Some OS X build fixes.Carl Hetherington
2014-07-21Remove some shared_ptr-itis.Carl Hetherington
2014-07-18Various small tweaks and fixes.Carl Hetherington
2014-07-18Quite large reworking of signer/cert handling.Carl Hetherington
2014-07-17Add variousn new bits to CertificateChain.Carl Hetherington
2014-07-17More tests.Carl Hetherington
2014-07-17Add verify() to CertificateChain.Carl Hetherington
2014-01-17namespace libdcp -> dcp.Carl Hetherington
2013-09-25Split tests up.Carl Hetherington
2013-09-19Various encryption-related stuff.Carl Hetherington
2013-07-08Improve certificate handling a bit and fix up tests.encryptionCarl Hetherington
2013-07-02Split test file up a bit.Carl Hetherington