aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/credentials_manager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For TLS client auth add callback giving list of trusted CA namesJack Lloyd2018-01-271-1/+10
| | | | Fixes #1261
* More include header cleanupsJack Lloyd2017-09-211-1/+0
|
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-1/+1
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Move TLS cert verification callback from Credentials_Manager to TLS::CallbacksJack Lloyd2016-11-231-49/+0
| | | | | | It is the only function in C_M which is called on to process session-specific (and adversarially provided) inputs, rather than passively returning some credential which is typically not session specific.
* Reroot the exception hierarchy into a toplevel Exception classJack Lloyd2015-12-111-3/+3
| | | | | | | | As the alternatives are unfortunate for applications trying to catch all library errors, and it seems deriving from std::runtime_error causes problems with MSVC DLLs (GH #340) Effectively reverts 2837e915d82e43
* Add check for path validation result in Credentials_Manager. GH #324Jack Lloyd2015-11-041-5/+8
|
* Fix cert validation bugs found by x509test.Jack Lloyd2015-10-231-7/+14
| | | | Add test suite with certs from x509test
* Move Credentials_Manager to TLSJack Lloyd2015-08-291-0/+135