aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_tm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-4/+4
|\ | | | | | | | | | | 6581b789d58717bc6acee5c6a248e2d44c636e40) to branch 'net.randombit.botan.c++0x' (head 227a989ae94da8f4379ea4b9b0fc0ee8dbdde0c7)
| * s/u32bit/size_t/ in asn1lloyd2010-10-131-4/+4
| |
* | propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-24/+28
|\ \ | |/ |/| | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| * Remove system_time(), replace entirely with std::chrono.lloyd2009-12-011-10/+10
| | | | | | | | | | | | Only remaining use of time.h/ctime is to convert from a time point to a calendar value, which still requires C's gmtime. Hide it entirely in time.cpp and return a calendar_point struct instead of a std::tm.
| * Remove to_string, replacing with std::to_stringlloyd2009-11-181-19/+28
| | | | | | | | | | Convert to_u32bit to use the new C++0x library func stoul instead of hand-written code.
| * Attic-ize all of src/timer, except for time_t_to_tm and system_timelloyd2009-10-131-1/+1
| | | | | | | | (which will go later) which will live in the new time.h
* | Fix a bug in X509_Time: when decoding, the tag would not be set, solloyd2010-10-071-18/+24
| | | | | | | | reencoding the same object would fail. This affected CRL updates.
* | Add strict comparisons for X509_Timelloyd2010-09-171-0/+6
| |
* | Replace time_t_to_tm with calendar_value which returns a struct representinglloyd2009-12-241-8/+8
| | | | | | | | the calendar time without tying to a particular format. From the C++0x branch.
* | Consolidate the non-canonical epoch timers, like cpuid and Win32'slloyd2009-12-011-1/+1
|/ | | | | | | | | | | | | | QueryPerformanceCounter, into an entropy source hres_timer. Its results, if any, do not count as contributing entropy to the poll. Convert the other (monotonic/fixed epoch) timers to a single function get_nanoseconds_clock(), living in time.h, which statically chooses the 'best' timer type (clock_gettime, gettimeofday, std::clock, in that order depending on what is available). Add feature test macros for clock_gettime and gettimeofday. Remove the Timer class and timer.h. Remove the Timer& argument to the algorithm benchmark function.
* The get_tm function was duplicated. Move single version to timer.{h,cpp}lloyd2009-09-171-20/+2
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-46/+48
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Move almost all of the ASN.1, BER, and DER codec related code into newlloyd2008-09-281-0/+295
module asn1 Move hex and base64 codecs into new codecs directory. Also move zlib and bzip2 to codecs from compress.