summaryrefslogtreecommitdiff
path: root/p11-kit/p11-kit.h
Commit message (Collapse)AuthorAgeFilesLines
* trust: Propagate library verbosity to module through init_argsDaiki Ueno2019-01-041-1/+2
| | | | | | Previously, even when the -v option is used with the 'trust' command, the messages from p11-kit-trust.so module were suppressed because the verbosity setting is not propagated to the module.
* modules: Add option to control module visibility from proxyDaiki Ueno2018-04-061-0/+1
| | | | | | This enables to control whether a module will be loaded from the proxy module. The configuration reuses the "enable-in" and "disable-in" options, with a special literal "p11-kit-proxy" as the value.
* p11_kit_override_system_files: introduced new functionNikos Mavrogiannopoulos2017-11-011-0/+5
| | | | | | | That allows overriding the default module and configuration locations, for use in test suites, etc. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Added p11_kit_module_get_filename()Nikos Mavrogiannopoulos2015-07-141-0/+1
| | | | | | | | | | | That function allows to obtain the filename used by the PKCS #11 module. That is the filename used by dlopen(). Note that we don't provide p11_kit_module_for_filename() because it would have to deal with filename equivalences. Signed-off-by: Stef Walter <stefw@redhat.com> * Fixed up whitespace
* p11-kit: Mark p11_kit_be_quiet() and p11_kit_be_loud() stableStef Walter2014-07-041-4/+4
| | | | | These are useful functions for callers who want to supress all output from p11-kit library.
* p11-kit: Add P11_KIT_MODULE_TRUSTED flagStef Walter2013-07-041-0/+1
| | | | | A new flag to pass to p11_kit_modules_load() and related functions which limits loaded modules to ones with "trust-policy: yes".
* Mark p11_kit_message() as a stable functionStef Walter2013-05-211-2/+2
|
* Fix building of applications using CRYPTOKI_GNU styleStef Walter2013-05-211-1/+3
|
* p11-kit: Managed PKCS#11 module loadingStef Walter2013-05-211-22/+41
| | | | | | | | | Support a new managed style module loading for PKCS#11 modules. This allows us to better coordinate between multiple callers of the same PKCS#11 modules and provide hooks into their behavior. This meant redoing the public facing API. The old methods are now deprecated, marked and documented as such.
* Add public iterator API to p11-kitStef Walter2013-02-051-0/+2
|
* Add p11_kit_be_loud() function for use in tests and toolsStef Walter2013-02-051-0/+2
| | | | This does the opposite of p11_kit_be_quiet().
* Add enable-in and disable-in options to module configStef Walter2012-04-011-0/+2
| | | | | | | | * These can be used to load certain modules in certain programs, or prevent loading in others. * Useful for a key manager like seahorse, so we can load extra modules (think NSS) that other modules shouldn't load.
* Store last failure message per thread.Stef Walter2011-06-091-0/+8
| | | | * Add p11_kit_message() function to get last message.
* Add p11_kit_space_strdup() function, and rename p11_kit_space_strlen()Stef Walter2011-06-071-0/+6
| | | | * Print out module info in p11-kit tool.
* Remove unstable API markers.Stef Walter2011-06-071-9/+0
|
* Allow use with CRYPTOKI_GNU style use of PKCS#11Stef Walter2011-05-301-1/+10
|
* Add p11_kit_load_initialize_module() function.Stef Walter2011-05-271-0/+3
| | | | | * This function will load a module from a file path, and then initialize it.
* Rename module arguments from 'funcs' to 'module'Stef Walter2011-05-271-4/+4
|
* Change around installation of headers, pkg-config, and file namesStef Walter2011-05-271-1/+1
| | | | | | | | * Install headers to ${prefix}/include/p11-kit-1/p11-kit/ * This solves problems with other projects that have their own pkcs11.h files. * Change the pkg-config file name to p11-kit-1.pc * Change the source file names.
* Fix up copyright lines.Stef Walter2011-04-011-1/+1
|
* Add C++ header guards, and require API instability acknowledgement.Stef Walter2011-03-311-0/+17
|
* Documentation and API cleanup.Stef Walter2011-03-311-0/+59
* Rename source directory * More consistent with return values from URI functions. * Allow formatting URI to take a uri type.