aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/pkcs8.h
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate some of the old PK load functions, inline othersJack Lloyd2020-11-281-54/+101
|
* Spell check the documentationJack Lloyd2018-09-281-7/+7
|
* Use class instead of struct for objects with member functionsJack Lloyd2017-09-301-3/+4
| | | | Flagged by Sonar and quite reasonable
* Include pk_keys.h in pkcs8.h and x509_key.hJack Lloyd2017-09-291-1/+1
| | | | Not strictly required but seems likely to cause problems for applications.
* Further header cleanupsJack Lloyd2017-09-281-1/+7
|
* Add variants of PKCS8::load_key that don't require an RNG argumentJack Lloyd2017-09-281-15/+50
| | | | | It's not used and only there for compat with existing callers, but no reason we can't offer a version that doesn't require it.
* Apply final annotations to the library alsoJack Lloyd2017-09-221-1/+1
| | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Complete the final annotation changesJack Lloyd2017-09-191-4/+4
|
* Add API stability annotations.Jack Lloyd2017-09-191-12/+12
| | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
* Fix Doxygen comment errorsJack Lloyd2017-03-311-1/+3
| | | | [ci skip]
* Add ability to specify iterations when encrypting a private keyJack Lloyd2017-02-261-0/+89
| | | | GH #896
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-2/+2
| | | | | | 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.
* Remove automatic self-testing of public and private keysJack Lloyd2016-11-031-7/+7
| | | | | | | | | | | | | Rarely expected and often causes performance problems, especially for private keys. Instead applications should call check_key explicitly to validate keys when necessary. Note this removal doesn't apply to tests like ECDH on-the-curve tests, where a check on the public key is required for security of our own key. Updates most APIs to remove RNG calls, where they are no longer required. Exception is PKCS8 interface, pending further work there (see GH #685) it just ignores the RNG argument now.
* Add IncludeOS target. Make filesystem support optional.Jack Lloyd2016-10-101-0/+2
|
* cppcheck fixes: Class 'X' has a constructor with 1 argument that is not ↵Daniel Neus2016-03-051-1/+1
| | | | explicit.
* Fix loading of unencrypted, BER encoded private keys via PKCS8 apiRené Korthaus2015-12-251-18/+30
|
* Remove algo factory, engines, global RNG, global state, etc.lloyd2015-02-041-2/+2
| | | | | | | | | | | | | | | 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.
* Move lib into srclloyd2014-01-101-0/+141