Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix various typos, and remove an unused macro in checks/bench.cpp | lloyd | 2012-04-23 | 1 | -1/+1 |
| | | | | All reported by Patrick Pelletier. | ||||
* | Fix the very basic operations for encoding and decoding a | lloyd | 2011-05-17 | 1 | -5/+10 |
| | | | | | | | | | certificate policies extension, though it's really not supported at all. Remove test code from secmem.h Fix building the examples | ||||
* | Add back BigInt::to_u32bit | lloyd | 2011-05-10 | 1 | -1/+1 |
| | | | | | | | Fix BigInt::get_substring when length is equal to 32 - an overflow would cause the mask to be equal to 0 thus producing nothing at all. Disable CVC by default, it's not ready for prime time in any sense. | ||||
* | ECC private keys had two different constructors, one taking a group | lloyd | 2011-04-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | and a random number generator, and the other taking a group and a preset private key value. The DL private keys instead have on constructor for this; if the x value is zero, then a new random key is created. For consistency, do this with ECC as well. ECDH actually didn't have one of these constructors, forcing you to either load from PKCS #8 or else use a random key. Rename EC_Domain_Params to EC_Group, with a typedef for compatability. More doc updates. Update mtn ignores for Sphinx output | ||||
* | In X509_Certificate::to_string, don't print key ids if empty | lloyd | 2011-04-06 | 2 | -3/+7 |
| | | | | | | Reduce size of serial numbers of new certs from 256 to 128 bits; 2**64 certs is _probably_ sufficient, given that it would take hundreds of exabytes of storage to hold that many certificates. :) | ||||
* | Fix variable mask warning in Sun C++. | lloyd | 2011-03-01 | 1 | -4/+4 |
| | | | | Make comment clearer on how to enable stlport4 in Sun C++ | ||||
* | Use size_t rather than u32bit for loop variables | lloyd | 2011-02-16 | 1 | -12/+12 |
| | |||||
* | Some dependency fixes | lloyd | 2011-02-11 | 2 | -1/+3 |
| | |||||
* | Remove inclusions of unused headers. | lloyd | 2011-02-10 | 2 | -7/+7 |
| | | | | Avoid using auto_ptr in the CVC headers. | ||||
* | Pull out variable, causes link problems in amalgamation | lloyd | 2011-02-09 | 2 | -3/+3 |
| | |||||
* | Convert the BER/DER coders to use size_t instead of u32bit for small | lloyd | 2011-02-09 | 11 | -22/+26 |
| | | | | integer values. Update callers. | ||||
* | Some cleanups, and add an <ios> include for Sun Studio 12 | lloyd | 2011-02-09 | 2 | -40/+47 |
| | |||||
* | Fix some VC warnings under 64 bit compiles | lloyd | 2010-12-13 | 2 | -6/+6 |
| | |||||
* | Make the random serial numbers 256 bits to ensure they will never | lloyd | 2010-11-29 | 1 | -1/+1 |
| | | | | | | collide. One might, theoretically, generate 2^64 certificates with a single CA (say, for each particle in a planet wide cloud of smart dust), but 2^128 does not seem possible. | ||||
* | Add X509_Certificate::to_string | lloyd | 2010-11-29 | 2 | -2/+110 |
| | | | | The x509info example now just calls that | ||||
* | Overflow warning in MSVC | lloyd | 2010-11-29 | 1 | -1/+2 |
| | |||||
* | Add a BOTAN_DEPRECATED macro which can provide compile-time | lloyd | 2010-11-02 | 1 | -0/+1 |
| | | | | deprecation warnings (at least for GCC and VC++). Use in some places. | ||||
* | Doxygen updates. | lloyd | 2010-11-02 | 1 | -0/+3 |
| | | | | | Remove version of search_map that returns two distinguishing results; only used in one place, and that can be replaced by a call to count() | ||||
* | s/u32bit/size_t/ | lloyd | 2010-10-29 | 1 | -2/+2 |
| | |||||
* | s/u32bit/size_t/ | lloyd | 2010-10-18 | 4 | -38/+38 |
| | |||||
* | Split some of the ASN.1 types into their own headers | lloyd | 2010-10-13 | 2 | -0/+2 |
| | |||||
* | Use output_length() instead of OUTPUT_LENGTH pseudo-property | lloyd | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | Fix CRL reason codes and updating of CRLs. Add tests for both cases. | lloyd | 2010-10-07 | 4 | -42/+7 |
| | |||||
* | Forward port CRL fixes from rev 7bb2001cd554a1acc3d345914ea710ff0e1d3a6b | lloyd | 2010-10-07 | 1 | -7/+12 |
| | |||||
* | Add dependencies | lloyd | 2010-09-24 | 7 | -0/+31 |
| | |||||
* | Add info.txt file | lloyd | 2010-09-21 | 1 | -0/+1 |
| | |||||
* | Remove searching with an arbitrary predicate from X509_Store | lloyd | 2010-09-20 | 4 | -197/+0 |
| | |||||
* | Move certificate store to its own dir | lloyd | 2010-09-20 | 3 | -0/+1 |
| | |||||
* | Add missing info files | lloyd | 2010-09-20 | 5 | -0/+6 |
| | |||||
* | Add CRL storage possibilities | lloyd | 2010-09-20 | 3 | -17/+93 |
| | |||||
* | Hide X509_Store::check_sig | lloyd | 2010-09-20 | 1 | -2/+2 |
| | |||||
* | Add a (clunky) function X509_Object::hash_used_for_signature that | lloyd | 2010-09-20 | 2 | -0/+26 |
| | | | | | | | returns the hash function that was used to create the signature. Useful for a future X509 path validator that inform the user which hash(es) they are relying on and/or allowing the ability to reject hashes which are undesirable (MD2, MD5, etc) | ||||
* | Don't use SecureVector to store certificate data; mlock'ed memory in | lloyd | 2010-09-17 | 3 | -8/+8 |
| | | | | | particular is precious. Really these could probably just as easily be std::vectors since even zeroizing the memory isn't relevant here. | ||||
* | Define a simpler Certificate_Store interface which should be much | lloyd | 2010-09-17 | 3 | -45/+56 |
| | | | | | easier to implement without requiring in-memory linear searching (eg a flatfile store or SQL database with indexes). | ||||
* | Hide X509_Object constructor | lloyd | 2010-09-17 | 1 | -11/+11 |
| | |||||
* | Remove dependencies on X509_Store | lloyd | 2010-09-17 | 4 | -12/+23 |
| | |||||
* | Split up src/cert/x509 into a set of modules, though mostly mutually | lloyd | 2010-09-17 | 26 | -47/+0 |
| | | | | dependent right now. | ||||
* | Update all uses of MemoryRegion::append to use either push_back or operator+= | lloyd | 2010-09-15 | 6 | -22/+20 |
| | |||||
* | Remove more uses of vector to pointer implicit conversions | lloyd | 2010-09-13 | 1 | -1/+1 |
| | |||||
* | Anywhere where we use MemoryRegion::begin to get access to the raw pointer | lloyd | 2010-09-13 | 1 | -7/+5 |
| | | | | | representation (rather than in an interator context), instead use &buf[0], which works for both MemoryRegion and std::vector | ||||
* | Make round_up and round_down templates instead of fixed to use u32bits | lloyd | 2010-06-29 | 1 | -1/+1 |
| | |||||
* | Define X509_Object::encode in terms of BER_encode and PEM_encode | lloyd | 2010-06-21 | 1 | -22/+12 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 1 | -2/+34 |
| | |||||
* | Replace "@return a blah" and "@return the blah" with just "@return blah" | lloyd | 2010-06-16 | 9 | -48/+48 |
| | |||||
* | More Doxygen updates/fixes | lloyd | 2010-06-15 | 6 | -35/+59 |
| | |||||
* | Fix a few hundred Doxygen warnings | lloyd | 2010-06-15 | 8 | -8/+23 |
| | |||||
* | Use X509::BER_encode. Saves 12 lines. Nice | lloyd | 2010-06-15 | 1 | -18/+6 |
| | |||||
* | Remove some C-style casts | lloyd | 2010-04-23 | 1 | -2/+2 |
| | |||||
* | Initialize m_pk to null in constructor | lloyd | 2010-03-17 | 1 | -0/+2 |
| | |||||
* | Remove config options to toggle if X.509 extensions are critical or | lloyd | 2010-03-10 | 4 | -48/+47 |
| | | | | | | | | not. Instead provide via Extensions::add(). No way to modify behavior currently, it just follows the previous default police. Remove the config options from Library_State entirely. Die, mutable singletons, die. |