aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-0917-304/+229
|\ | | | | | | | | | | 9932d4d63417f7fcc199ada244cbaa6c1c32d9c1) to branch 'net.randombit.botan.c++0x' (head f4a385a376311edc62ef506c72cc56f69e6efd5a)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-021-4/+4
| |\ | | | | | | | | | | | | | | | fc86fc4842254088bf820ea6ebf05877aa63fb22) to branch 'net.randombit.botan.c++0x' (head 77565ff7252df7f8faad86d65075498b0adb93d8)
| * | Post-merge fixupslloyd2010-02-243-4/+4
| | |
| * | propagate from branch 'net.randombit.botan' (head ↵lloyd2010-02-2412-137/+52
| |\ \ | | | | | | | | | | | | | | | | | | | | 2b67727dd9d1e7fe34f3cb7b7f6715ba42a04918) to branch 'net.randombit.botan.c++0x' (head 1e2e1596f2b4928c2b7bfba624ea5e4ac69dfdad)
| * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-01-272-4/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | af0e75a6f88cf5c3e0c53f949ae83242dedc5786) to branch 'net.randombit.botan.c++0x' (head 5543a042e04c7ff88a110c7271918488b13342f1)
| * | | | Post-merge fixeslloyd2010-01-211-1/+1
| | | | |
| * | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2010-01-2129-362/+288
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12382647ef0a28fcb11c824c77b670cc88a4f721) to branch 'net.randombit.botan.c++0x' (head b586a3286d2c4d547ad3add5af9df1455bf4b87b)
| | * \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-243-3/+6
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 367d157c1221a162f5b4098492944a509ef6d019) to branch 'net.randombit.botan.c++0x' (head 1b9e8c4e92663f30b7d57b0fd8f57eb13cfce155)
| | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-1629-367/+292
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22c82e10d78ad0e2cdaa56cb02f3d846ed0ead5e) to branch 'net.randombit.botan.c++0x' (head 74dbf310b7fcc11f94a16cd63046219acd5d62bc)
| | | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-169-74/+82
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 744dccf92270cf16b80b50ee2759424c9866b256) to branch 'net.randombit.botan.c++0x' (head 2aa1acac1d05e8ea9991fe39015b1db9abc3b24e)
| | | * | | | | | 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.
* | | | | | | | | | | | | | | | Modify pubkey classes to take names instead of object pointers.lloyd2010-03-086-29/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove use of look_pk from the source and examples, instead instantiate classes directly.
* | | | | | | | | | | | | | | | Remove the now no-op classes PK_Encrypting_Key,lloyd2010-03-085-47/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PK_Decrypting_Key, PK_Signing_Key, PK_Verifying_with_MR_Key, and PK_Verifying_wo_MR_Key.
* | | | | | | | | | | | | | | | Changes to CVC to deal with the fact that you can't create an uninitializedlloyd2010-03-043-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ECDSA_PublicKey object anymore.
* | | | | | | | | | | | | | | | The code in pk_codecs was actually entirely tied to the code inlloyd2010-03-042-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pubkey; you literally could not compile any pubkey code without it. Move it up to the pubkey dir, it wasn't at all useful to have it in its own dir.
* | | | | | | | | | | | | | | | Add a new function to Public_Key, algorithm_identifier(), which justlloyd2010-03-041-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | returns the AlgorithmIdentifier representing this scheme (OID + domain params if any).
* | | | | | | | | | | | | | | | Remove BOTAN_DLL from templates, VC++ doesn't like itlloyd2010-03-032-2/+2
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Reorganize where some CVC code goes to avoid template bloat + VC problemslloyd2010-03-037-95/+66
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | CVC assumed sigs were DER encoded by default. Not truelloyd2010-03-024-25/+7
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Remove ECDSA_Signature encoding/decoding cruftlloyd2010-03-023-83/+39
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Cleanups, remove dead codelloyd2010-03-028-96/+27
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Port in the code for forming the EAC encoding of an ECDSA key, so nowlloyd2010-03-021-19/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generating new CVC certs might actually work.
* | | | | | | | | | | | | | | | Lots of internal CVC cleanupslloyd2010-03-0213-192/+121
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Remove some needless usages of auto_ptr in CVClloyd2010-03-027-22/+33
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Remove a fairly useless member of EC_PublicKey that was only used forlloyd2010-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handling ImplicitCA ECDSA keys in the CVC code. Currently dealt with in CVC by simply commenting out the calls - CVC is already pretty broken and I'd much rather have ECC sane and under control and CVC totally broken than ECC remaining in its current state.
* | | | | | | | | | | | | | | Clean up EC_Domain_Paramslloyd2010-03-011-3/+3
| |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Small cleanups in CVC. Reduce use of assert. Remove UTF-8 charslloyd2010-02-245-28/+25
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Remove TR1 dependency in CVC codelloyd2010-02-2412-111/+25
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |
* | | | | | | | | | | | | Remove global variablelloyd2010-01-222-4/+2
|/ / / / / / / / / / / /
* | | | | | | | | | | | Clean up exceptions. Remove some unused ones like Config_Error. Makelloyd2010-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Invalid_Argument just a typedef for std::invalid_argument. Make Botan::Exception a typedef for std::runtime_error. Make Memory_Exhaustion a public exception, and use it in other places where memory allocations can fail.
* | | | | | | | | | | | Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-312-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.