aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509/x509cert.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support for the authority information access extension, limited tolloyd2012-05-271-0/+5
| | | | | | only grabbing type 6 (URL) values for OCSP which is likely the only thing it's ever used for. Expose the value with new function X509_Certificate::ocsp_responder
* Add an X509_Certificate::allowed_usage for extended constraints.lloyd2012-05-271-2/+11
| | | | | | Check that whatever certificate we got is allowed to sign OCSP responses. Add another helper function BER_Decoder to try to handle the ASN.1 mess.
* Derive X509_Object from ASN1_Object.lloyd2012-05-271-0/+6
| | | | | | | | In the path validator, pass singlular Certificate_Store args as const reference and const_cast them. It's not ideal but it seems to lead to the cleanest external API. Treat all v1 X.509 certs as implicit CAs.
* Several new hooks in X509_Certificate to get raw (from the certlloyd2012-05-271-9/+23
| | | | binary) values which we need for OCSP.
* propagate from branch 'net.randombit.botan.x509-path-validation' (head ↵lloyd2012-05-251-48/+93
|\ | | | | | | | | | | 63b5a20eab129ca13287fda33d2d02eec329708f) to branch 'net.randombit.botan' (head 8b8150f09c55184f028f2929c4e7f7cd0d46d96e)
* | All of the X509 modules were actually mutually dependent. Ideally thislloyd2012-02-061-0/+481
|/ | | | | would be fixed but it's quite hard to do, makes more sense for now to merge then back into one big x509 blog.
* Split up src/cert/x509 into a set of modules, though mostly mutuallylloyd2010-09-171-366/+0
| | | | dependent right now.
* Make many more headers internal-only.lloyd2009-12-161-1/+1
| | | | | | | | | | | | | Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions.
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-76/+78
| | | | | | | | | | | | | | | 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).
* Move x509 into cert/ subdir (in prep for InSiTo adding cert/cvc)lloyd2008-09-291-0/+364