aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert
Commit message (Collapse)AuthorAgeFilesLines
* Most files including <botan/time.h> actually just needed <chrono>lloyd2009-12-013-3/+3
| | | | Clean up implementation of calendar_value() a bit
* Use std::chrono::duration instead of untyped u32bit values for times inlloyd2009-12-012-10/+17
| | | | X509_Store
* Remove system_time(), replace entirely with std::chrono.lloyd2009-12-018-107/+70
| | | | | | 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-184-37/+35
| | | | | Convert to_u32bit to use the new C++0x library func stoul instead of hand-written code.
* propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-1826-220/+177
|\ | | | | | | | | | | 23f95467137a0531f74574d1e3eb822734f0c5f2) to branch 'net.randombit.botan.c++0x' (head 427be8496e669880b1bf532eb829ebbdbeaf34c9)
| * Use the new support for explicitly deleting functions instead of hidinglloyd2009-11-172-5/+5
| | | | | | | | | | them as private variables for operator= and copy constructors that shouldn't be used.
| * Convert Data_Store::Matcher to using lambdaslloyd2009-11-161-32/+11
| |
| * Use auto for long iterator names, etc.lloyd2009-11-163-18/+7
| | | | | | | | It will be nice to convert to the range-based for loop once that's available.
| * Replace X509_Store::Search_Func with std::function and lambdaslloyd2009-11-164-92/+81
| |
| * Remove TR1 hooks - can be assumed to exist under a C++0x compilerlloyd2009-11-131-2/+0
| |
| * Post-merge fixlloyd2009-11-131-1/+1
| |
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-139-39/+78
| |\ | | | | | | | | | | | | | | | ac888e57b614c623590d79ab615353ad7c76ef68) to branch 'net.randombit.botan.c++0x' (head 9bf78ed7e2521a328f6db7acbc1cd81b07718230)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-0220-71/+73
| |\ \ | | | | | | | | | | | | | | | | | | | | 2773c2310e8c0a51975987a2dd6c5824c8d43882) to branch 'net.randombit.botan.c++0x' (head f13cf5d7e89706c882604299b508f356c20aae3a)
| | * | Attic-ize all of src/timer, except for time_t_to_tm and system_timelloyd2009-10-136-6/+6
| | | | | | | | | | | | | | | | (which will go later) which will live in the new time.h
| | * | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-172-44/+16
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | b9ca6596a127964cb9795d22bc2a5642fab5de84) to branch 'net.randombit.botan.c++0x' (head 3c769a81bd357a14f8aca4502b67e8465cee0947)
| | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-176-7/+6
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92e05ab242e4b6998d685961c53700534a673bce) to branch 'net.randombit.botan.c++0x' (head 27ce37b971ec5cb1f80a9a95b13d5a951b96653b)
| | * \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-0817-65/+67
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cadcc57872bef55226579df57349fe09a93d1f5) to branch 'net.randombit.botan.c++0x' (head d1747f0394aa4442e5b32b9102b830e1a86f0e5a)
| | | * \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-07-212-12/+27
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95eb8083f5884531e5ca0667388f8a6fb6d05c41) to branch 'net.randombit.botan.c++0x' (head 56e105e678540c8bcafa4d0198c19a9489fbf8d1)
| | | * | | | | Use C++0x std::shared_ptr<> instead of TR1'slloyd2009-04-019-22/+15
| | | | | | | |
| | | * | | | | Replace the (deprecated) auto_ptr with unique_ptr.lloyd2009-04-0114-45/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was mostly a s/auto_ptr/unique_ptr/, except in the CVC code and one function in ECDSA, which relied on auto_ptr's move semantics (ugh) and had to be modified in various ways.
* | | | | | | | Much cleaning up in ECDSA, though it's still rather a mess (and 50x slowerlloyd2009-11-181-15/+3
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | than OpenSSL... that's a problem for another branch though).
* | | | | | | Cleanups - remove emails from source files, they should only live inlloyd2009-11-105-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | credits.txt and thanks.txt. Remove some various bits of formatting weirdness.
* | | | | | | In creating X.509 certificates and PKCS #10 requests, let (actually: require)lloyd2009-11-094-31/+75
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the user to specify the hash function to use, instead of always using SHA-1. This was a sensible default a few years ago, when there wasn't a ~2^60 attack on SHA-1 and support for SHA-2 was pretty much nil, but using something else makes a lot more sense these days.
* | | | | / Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-292-4/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* | | | | The get_tm function was duplicated. Move single version to timer.{h,cpp}lloyd2009-09-172-44/+16
| |_|_|/ |/| | |
* | | | Split up util.h into 3 fileslloyd2009-09-176-7/+6
|/ / / | | | | | | | | | | | | | | | | | | - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h
* | / Replace 'XXX' and other such notes with FIXME for easy greppinglloyd2009-07-223-6/+6
| |/ |/|
* | Move some files around to break up dependencies between directorieslloyd2009-07-161-0/+1
| |
* | Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-152-12/+26
| | | | | | | | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* | Move the contents of pubkey/pubkey (which was kind of a catch-all tolloyd2009-07-151-1/+1
|/ | | | | | | just toplevel pubkey). This was a convention I realized made sense sometime on when I was first doing the modularization changes. Move pkcs8.* and x509_key.* to pk_codecs
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-3042-849/+933
| | | | | | | | | | | | | | | 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).
* Add Doxygen comment for Timer::clock. Fix @return in benchmark.h and x509_ca.hlloyd2008-11-251-1/+1
|
* Make X509_Store::CRL_Info public for IBM XLC 0.9 for Celllloyd2008-11-241-10/+14
|
* Remove pk_lookup - half of it (look_pk.{cpp,h}) depended on libstate directly,lloyd2008-11-111-1/+0
| | | | | the other half was relied upon by pubkey. Move the contents into those two modules. Update deps.
* Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpplloyd2008-11-112-4/+3
|
* Split the last parts of the 'core' modulelloyd2008-11-089-9/+9
| | | | Add some missing info.txts
* Wrap lines to 80 columnslloyd2008-10-281-2/+2
|
* Remove two declared but not defined constructors of EAC_Signed_Objectlloyd2008-10-141-4/+1
|
* Add some Doxygen comments from InSiTo written for config.h (now gone/split up)lloyd2008-10-131-5/+9
|
* Remove spurious trailing ; after blockslloyd2008-10-131-1/+2
|
* Add InSiTo Doxygen comments for freestore.hlloyd2008-10-131-4/+40
|
* Doxygen comments for eac_asn_obj.h from latest InSiTolloyd2008-10-131-20/+132
|
* Add Doxygen comments from InSiTo to x509self.hlloyd2008-10-131-27/+148
|
* Doxygen comments for X509_Certificate, from InSiTolloyd2008-10-131-12/+123
|
* Another batch of InSiTo Doxygen commentslloyd2008-10-131-7/+41
|
* Doxygen comments and reformatting in CVC codelloyd2008-10-134-88/+95
|
* More Doxygen commentslloyd2008-10-133-68/+77
|
* Add Doxygen comments for missing paramslloyd2008-10-131-0/+4
|
* More Doxygen comments from InSiTolloyd2008-10-131-5/+58
|
* More Doxygen comments from InSiTolloyd2008-10-131-7/+43
|