aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509_ext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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