Describe certificate matching syntax.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22692 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-03-18 16:18:13 +00:00
parent 23895f4fb9
commit 15684f3514

View File

@@ -30,7 +30,7 @@
@title HX509 @title HX509
@subtitle X.509 distribution from KTH @subtitle X.509 distribution from KTH
@subtitle Edition @value{EDITION}, for version @value{VERSION} @subtitle Edition @value{EDITION}, for version @value{VERSION}
@subtitle 2007 @subtitle 2008
@author Love H<>rnquist <20>strand @author Love H<>rnquist <20>strand
@author last updated @value{UPDATED} @author last updated @value{UPDATED}
@@ -202,6 +202,7 @@ This manual is last updated @value{UPDATED} for version
* What is X.509 ?:: * What is X.509 ?::
* Setting up a CA:: * Setting up a CA::
* CMS signing and encryption:: * CMS signing and encryption::
* Certificate matching::
@detailmenu @detailmenu
--- The Detailed Node Listing --- --- The Detailed Node Listing ---
@@ -222,6 +223,10 @@ CMS signing and encryption
* CMS background:: * CMS background::
Certificate matching
* Matching syntax::
@end detailmenu @end detailmenu
@end menu @end menu
@@ -623,10 +628,44 @@ CMS is the Cryptographic Message System that among other, is used by
S/MIME (secure email) and Kerberos PK-INIT. It's an extended version of S/MIME (secure email) and Kerberos PK-INIT. It's an extended version of
the RSA, Inc standard PKCS7. the RSA, Inc standard PKCS7.
@node CMS background, , CMS signing and encryption, Top @node CMS background, Certificate matching, CMS signing and encryption, Top
@section CMS background @section CMS background
@node Certificate matching, Matching syntax, CMS background, Top
@section Certificate matching
To match certificates hx509 have a special query language to match
certifictes in queries and ACLs.
@node Matching syntax, , Certificate matching, Top
@section Matching syntax
This is the language definitions somewhat slopply descriped:
@example
expr = TRUE,
FALSE,
! expr,
expr AND expr,
expr OR expr,
( expr )
compare
compare =
word == word,
word != word,
word IN ( word [, word ...])
word IN %@{variable.subvariable@}
word =
STRING,
%@{variable@}
@end example
@c @shortcontents @c @shortcontents
@contents @contents