aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509_ext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Create an x509 module containing all of the X509 certificate and CAlloyd2008-09-281-579/+0
| | | | code as well as the code for handling PKCS #10 requests.
* Remove global_config() - replace by direct calls to global_state()lloyd2008-06-301-2/+2
|
* propagate from branch 'net.randombit.botan' (head ↵lloyd2008-04-101-4/+23
|\ | | | | | | | | | | 6afe2db1f710f75bc27e189bb8bdb23613ce1ca3) to branch 'net.randombit.botan.remove-libstate' (head e40f0dbdfd847024c30fa0092c2acefc19a550b8)
| * Remove X509_GlobalState in favor of static function Extensions::get_extensionlloyd2008-04-071-4/+23
| |
* | 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)
* Remove Extensions::copy_this(). Define the Extensions copy constructor inlloyd2008-04-071-15/+23
| | | | terms of Extensions::operator=
* 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.
* Avoid C-style casts (as detected by GCC's -Wold-style-cast) and instead use lloyd2007-07-231-2/+2
| | | | static_cast or reinterpret_cast, as needed.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Remove a dependency on x509cert.h from x509_ext.cpp by moving the definitionlloyd2006-12-121-1/+0
| | | | of NO_CERT_PATH_LIMIT to enums.h
* Return the correct type from Basic_Constraints::get_path_limit (was coercinglloyd2006-09-081-1/+1
| | | | the path limit integer to a boolean)
* Fix a bug that caused subject alternative name information to be savedlloyd2006-08-231-2/+5
| | | | as issuer names.
* 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
|
* Respect configuration parameters for if an extension should belloyd2006-06-251-2/+14
| | | | marked critical in a new certificate.
* Remove a function in Certificate_Extension that was declared butlloyd2006-06-251-2/+6
| | | | | | | | | never defined. Remove all current support in Certificate_Extension for marking extensions critical - it was basically unused. Will be replaced by something that uses config_id() along with the user-modifiable policy settings.
* Remove Extension::make_extension, use the global extension prototypeslloyd2006-06-241-31/+5
| | | | to create extensions as needed.
* Small cleanup to Authority_Key_Identifier::decode_innerlloyd2006-06-241-2/+3
|
* Inline a number of small objects that are only used in a local contextlloyd2006-06-231-0/+4
| | | | | | | (ie, a single function). This will, unfortunately, break GCC 2.95.x support. Most of the operating systems that had shipped with 2.95.x, like OpenBSD and QNX, have since upgraded. Anyone needing 2.95.x support will have to continue using 1.4.x
* Add missing <memory> includes for files that use auto_ptrlloyd2006-06-231-0/+1
|
* Use accessor functions for CRL_Entry, instead of having public datalloyd2006-06-231-2/+0
|
* The decode_from taking a bool wasn't actually usable, don'tlloyd2006-06-231-9/+1
| | | | | | | know why I thought it would work (that function is only called through the interface presented to the BER/DER codecs). Instead, pass a bool to the constructor.
* Respect the throw_on_unknown flaglloyd2006-06-231-2/+2
| | | | Fix a string constant in an exception throw (missing a space)
* Add a new variant of Extensions::decode_from that doesn't thrown anlloyd2006-06-231-0/+8
| | | | exception if it finds an unknown critical extension.
* Make Alternative_Name an abstract base, from which the subjectlloyd2006-06-231-14/+49
| | | | | | | | | | | | 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).
* Add operator= and a copy constructor to Extensionslloyd2006-06-221-31/+40
| | | | | | | Add a copy() function to Certificate_Policies Turn make_extension from an anonymous namespace function to a static private function of Extensions
* Add accessor and cloning functions to the Certificate_Extension objectslloyd2006-06-221-0/+38
|
* Use preincrement instead of postincrement inside of some loops (mostlylloyd2006-06-191-3/+3
| | | | | for consistency with code that uses STL iterators, as these were mostly integer operations, though with one exception).
* Syntax changes to the BER and DER APIs to improve readability of codelloyd2006-05-191-109/+226
| | | | | 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/+357