diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/Makefile.am | 1 | ||||
-rw-r--r-- | doc/manual/p11-kit.xml | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am index 7108977..a3c6b66 100644 --- a/doc/manual/Makefile.am +++ b/doc/manual/Makefile.am @@ -60,6 +60,7 @@ IGNORE_HFILES= \ pkcs11i.h \ pkcs11x.h \ private.h \ + client.h \ proxy.h \ rpc.h \ rpc-message.h \ diff --git a/doc/manual/p11-kit.xml b/doc/manual/p11-kit.xml index 223df62..0c813b8 100644 --- a/doc/manual/p11-kit.xml +++ b/doc/manual/p11-kit.xml @@ -35,6 +35,9 @@ <cmdsynopsis> <command>p11-kit extract</command> ... </cmdsynopsis> + <cmdsynopsis> + <command>p11-kit server</command> ... + </cmdsynopsis> </refsynopsisdiv> <refsect1 id="p11-kit-description"> @@ -85,6 +88,20 @@ $ p11-kit list-modules for more information</para> </refsect1> +<refsect1 id="p11-kit-server"> + <title>Server</title> + + <para>Run a server process that exposes PKCS#11 module remotely.</para> + +<programlisting> +$ p11-kit server /path/to/pkcs11-module.so +$ p11-kit server pkcs11:token-uri +</programlisting> + + <para>This launches a server that exposes the given PKCS#11 module or token on a local socket. To access the socket, use <literal>p11-kit-client.so</literal> module. The server address and PID are printed as a shell-script snippet which sets the appropriate environment variable: <literal>P11_KIT_SERVER_ADDRESS</literal> and <literal>P11_KIT_SERVER_PID</literal>.</para> + +</refsect1> + <refsect1 id="p11-kit-extract-trust"> <title>Extract Trust</title> |