aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509stor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Previously X509_Store took two configuration values from the librarylloyd2008-06-301-7/+3
| | | | | | | | | config state: how long successful validations should be cached, and the amount of slack to allow on time boundary checks. Now these are passed as arguments to the constructor, as a pair of 32-bit integers representing the number of seconds to allow as slack and the number of seconds to cache validations for. They default to the same compiled in defaults as before, 24 hours (86400 seconds) and 30 minutes (1800 seconds), respectively.
* Remove global_config() - replace by direct calls to global_state()lloyd2008-06-301-3/+3
|
* Remove Config::option_as_time, instead call timespec_to_u32bit inlloyd2008-05-021-10/+13
| | | | each caller.
* Instead of reading from the Config object every time to get the slack welloyd2008-04-291-15/+19
| | | | | | should allow when checking timestamps, just call it once and store the value in the X509_Store object, passing it to validity_check with a new argument for the allowed time slack.
* Move validity_check() into an anonymous namespace inside x509stor.cpp,lloyd2008-04-291-0/+18
| | | | as that was the only place it was called from.
* Change the copyrights in all files in the Botan tree to directly reflectlloyd2008-04-101-1/+1
| | | | | | the actual copyright holders. For rationale, see my post to botan-devel on April 9, subject 'Changing license to directly reflect contributors' (http://www.randombit.net/pipermail/botan-devel/2008-April/000527.html)
* Mostly revert 2f4fd18182d5a75c40cd831e7ee3c314be5c57d6, only keep thelloyd2008-03-101-1/+1
| | | | | updated dates on files that have actually changed this year. This makes the diff across versions readable again.
* Mass update of the copyright date. Honestly I don't know why I bother,lloyd2008-02-141-1/+1
| | | | | | | but might as well keep it up to date. And it's easier to do it once with a 'perl -pi' command than to update each file over time. Apologies to anyone looking at diffs.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Rename instances of X509_PublicKey and PKCS8_PrivateKeylloyd2006-09-061-2/+2
|
* Access the global configuration through an object reference insteadlloyd2006-07-011-1/+3
| | | | | of stand-alone functions. Store the configuration in a distinct object, rather than just a map inside the library state.
* Fix config.h includeslloyd2006-07-011-1/+1
|
* Use accessor functions for CRL_Entry, instead of having public datalloyd2006-06-231-2/+2
|
* Change X509_Certificate::subject_info and issuer_info to returnlloyd2006-06-031-2/+2
| | | | | | | | | a vector of strings instead of a single string that combines the relevent fields. Change how X509_Certificate stores information. Renamed self_signed() to is_self_signed()
* Initial checkin1.5.6lloyd2006-05-181-0/+670