aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509self.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Create an x509 module containing all of the X509 certificate and CAlloyd2008-09-281-174/+0
| | | | code as well as the code for handling PKCS #10 requests.
* Remove the Config class.lloyd2008-06-301-1/+0
| | | | | | | | In reality, Config was a singleton, with the only owner being the Library_State object. Theoretically one could create and use another Config instance, but in practice it was never done. Reflect the reality and inline the members and public functions of Config in Library_State, removing Config entirely.
* X509::create_cert_req and X509::create_self_signed_cert take an RNG reflloyd2008-06-111-7/+6
|
* Modify X509_CA::make_cert and X509_CA::sign_request to take a RNG referencelloyd2008-06-111-1/+3
| | | | argument in favor of referencing the global PRNG argument
* Change PK_Signer::signature to take a RandomNumberGenerator referencelloyd2008-06-101-1/+4
| | | | instead of always using the global PRNG.
* 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.
* Add support for IPv4 addresses in the X.509 alternative name extension.lloyd2007-10-161-1/+1
| | | | Original patch from Yves Jerschow.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Rename instances of X509_PublicKey and PKCS8_PrivateKeylloyd2006-09-061-4/+4
|
* Merge a formerly duplicate function (one in an anonymous namespace inlloyd2006-09-061-18/+0
| | | | x509self.cpp, the other a block of code in X509_CA's constructor).
* Make choose_sig_format a static member of Config rather thanlloyd2006-07-011-1/+1
| | | | a standalone function.
* Access the global configuration through an object reference insteadlloyd2006-07-011-1/+1
| | | | | 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
|
* Fix compile errorlloyd2006-06-261-1/+2
|
* Use X509_Object::make_signed, rather than running through the processlloyd2006-06-251-10/+1
| | | | manually.
* Alter the self-signed cert generating code to use the new versionlloyd2006-06-251-4/+13
| | | | of X509_CA::make_cert
* Make Alternative_Name an abstract base, from which the subjectlloyd2006-06-231-4/+1
| | | | | | | | | | | | and issuer forms are derived. Add Extensions::contents_to, which iterates over the set and adds each extension's contents. Add a new explicit info field for is_ca Implement Authority_Key_Id::decode_inner (incomplete, only handles the keyid form).
* Syntax changes to the BER and DER APIs to improve readability of codelloyd2006-05-191-18/+11
| | | | | that uses them. These changes are not backwards compatible, this commit updates all uses of the APIs within the library.
* Initial checkin1.5.6lloyd2006-05-181-0/+198