diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-27 09:08:10 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-27 09:08:10 +0200 |
commit | ca30043050d5b95a5b394712b3a5c7f6d3cfa95e (patch) | |
tree | f17479f1ccb8c50070bd53f0a1e16cab5031fbc3 /doc | |
parent | 2b0a4b30a67e7a666db9576c36d6270448908187 (diff) | |
download | gnutls-ca30043050d5b95a5b394712b3a5c7f6d3cfa95e.tar.gz |
updated pkcs11 loading documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cha-tokens.texi | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/cha-tokens.texi b/doc/cha-tokens.texi index 55323189a9..da53f1e059 100644 --- a/doc/cha-tokens.texi +++ b/doc/cha-tokens.texi @@ -288,13 +288,12 @@ storage module@footnote{@url{http://p11-glue.freedesktop.org/trust-module.html}} @node PKCS11 Initialization @subsection Initialization To allow all @acronym{GnuTLS} applications to transparently access smard cards -and tokens, @acronym{PKCS} #11 is automatically initialized during the global -initialization (see @funcref{gnutls_global_init}). The initialization function, to select -which modules to load reads certain module configuration files. -Those are stored in @code{/etc/pkcs11/modules/} and -are the configuration files of @acronym{p11-kit}@footnote{@url{http://p11-glue.freedesktop.org/}}. -For example a file that will load the @acronym{OpenSC} module, could be named -@code{/etc/pkcs11/modules/opensc.module} and contain the following: +and tokens, @acronym{PKCS} #11 is automatically initialized during the first +call of a @acronym{PKCS} #11 related function. The initialization process, based +on p11-kit configuration, loads any appropriate modules. The p11-kit configuration +files@footnote{@url{http://p11-glue.freedesktop.org/}} are typically stored in @code{/etc/pkcs11/modules/}. +For example a file that will instruct GnuTLS to load the @acronym{OpenSC} module, +could be named @code{/etc/pkcs11/modules/opensc.module} and contain the following: @example module: /usr/lib/opensc-pkcs11.so |