About the pkcs11 module.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23070 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-21 11:18:41 +00:00
parent a4eff8f689
commit 0f8cd7411b

View File

@@ -185,6 +185,7 @@ This manual is last updated @value{UPDATED} for version
* Setting up a CA:: * Setting up a CA::
* CMS signing and encryption:: * CMS signing and encryption::
* Certificate matching:: * Certificate matching::
* Software PKCS 11 module::
@detailmenu @detailmenu
--- The Detailed Node Listing --- --- The Detailed Node Listing ---
@@ -209,6 +210,10 @@ Certificate matching
* Matching syntax:: * Matching syntax::
Software PKCS 11 module
* How to use the PKCS11 module::
@end detailmenu @end detailmenu
@end menu @end menu
@@ -615,12 +620,12 @@ the RSA, Inc standard PKCS7.
@node Certificate matching, Matching syntax, CMS background, Top @node Certificate matching, Matching syntax, CMS background, Top
@section Certificate matching @chapter Certificate matching
To match certificates hx509 have a special query language to match To match certificates hx509 have a special query language to match
certifictes in queries and ACLs. certifictes in queries and ACLs.
@node Matching syntax, , Certificate matching, Top @node Matching syntax, Software PKCS 11 module, Certificate matching, Top
@section Matching syntax @section Matching syntax
This is the language definitions somewhat slopply descriped: This is the language definitions somewhat slopply descriped:
@@ -647,6 +652,28 @@ word =
@end example @end example
@node Software PKCS 11 module, How to use the PKCS11 module, Matching syntax, Top
@chapter Software PKCS 11 module
PKCS11 is a standard created by RSA, Inc to support hardware and
software encryption modules. It can be used by smartcard to expose the
crypto primitives inside without exposing the crypto keys.
Hx509 includes a software implementation of PKCS11 that runs within the
memory space of the process and thus exposes the keys to the
application.
@node How to use the PKCS11 module, , Software PKCS 11 module, Top
@section How to use the PKCS11 module
@example
$ cat > ~/.soft-pkcs11.rc <<EOF
mycert cert User certificate FILE:/Users/lha/Private/pkinit.pem
app-fatal true
EOF
$ kinit -C PKCS11:/usr/heimdal/lib/hx509.so lha@@EXAMPLE.ORG
@end example
@c @shortcontents @c @shortcontents
@contents @contents