aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509cert.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit static_cast operations to eliminate implicit cast compiler ↵Dan Brown2016-04-271-2/+2
| | | | warnings.
* Generate error on unknown critical extension during path validationRené Korthaus2016-04-061-13/+38
| | | | | | | | | | | | Previously unknown critical extensions were rejected during X509_Certificate constructor, which inhibited inspecting other parts of such a certificate. Refactored the certificate extensions code so that the path validation routine performs this check only. Additionally, added an interface for extensions to inspect the path during path validation. TODOs were added in places where existing path validation code can use the new interface. Fixes GH #449.
* Merge GH #454 X.509 name constraintsJack Lloyd2016-03-161-0/+55
|\
| * X.509 Name ConstraintsKai Michaelis2016-03-101-0/+55
| |
* | +added fields for custom x509 extensionsChristopher Bläsius2016-02-291-0/+6
|/ | | | +Extensions now uses std::unique_ptr
* Mass-prefix member vars with m_René Korthaus2016-01-081-51/+51
|
* String comparision fixesDaniel Neus2016-01-041-3/+3
| | | | fix PVS-Studio perfomance warnings
* Merge pull request #313 from randombit/path-validation-fixesJack Lloyd2015-10-261-70/+64
|\ | | | | Fix cert validation bugs found by x509test.
| * Fix cert validation bugs found by x509test.Jack Lloyd2015-10-231-70/+64
| | | | | | | | Add test suite with certs from x509test
* | Update doc for issuer_dn() and subject_dn()Simon Warta2015-10-201-6/+0
|/ | | | [ci skip]
* Remove use of lookup.h in favor of new T::create API.Jack Lloyd2015-09-211-2/+1
|
* Remove string constructor of X509_Time()Simon Warta2015-08-111-2/+2
| | | | | | | | | | | * Break down string representations to to_string() and readable_string() * Add m_ prefix to member variable names * Fix order of methods * Move comments Doxygen friendly to header * Make set_to() private (future subjejt of refectoring); People should use constructor Closes #185
* Fix code that triggers a strange MSVC 'performance warning'git2015-04-081-1/+1
| | | | Github pull 74 from Chris Desjardins
* Remove algo factory, engines, global RNG, global state, etc.lloyd2015-02-041-0/+1
| | | | | | | | | | | | | | | Convert all uses of Algorithm_Factory and the engines to using Algo_Registry The shared pool of entropy sources remains but is moved to EntropySource. With that and few remaining initializations (default OIDs and aliases) moved elsewhere, the global state is empty and init and shutdown are no-ops. Remove almost all of the headers and code for handling the global state, except LibraryInitializer which remains as a compatability stub. Update seeding for blinding so only one hacky almost-global RNG instance needs to be setup instead of across all pubkey uses (it uses either the system RNG or an AutoSeeded_RNG if the system RNG is not available).
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Guess I won't be needing theselloyd2014-01-181-1/+0
|
* Move lib into srclloyd2014-01-101-0/+587