Add language to support querying certificates to find a match. Support constructs like "1.3.6.1.5.2.3.5" IN %{certificate.eku} AND %{certificate.subject} TAILMATCH "C=SE"".

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22677 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-03-13 17:35:49 +00:00
parent 08cb59513f
commit 7776ed30a9
16 changed files with 1006 additions and 71 deletions

View File

@@ -6,6 +6,7 @@ lib_LTLIBRARIES = libhx509.la
libhx509_la_LDFLAGS = -version-info 3:0:0
BUILT_SOURCES = \
sel-gram.h \
$(gen_files_ocsp:.x=.c) \
$(gen_files_pkcs10:.x=.c) \
hx509_err.c \
@@ -50,6 +51,8 @@ gen_files_crmf = \
asn1_ProofOfPossession.x \
asn1_SubsequentMessage.x
AM_YFLAGS = -d
dist_libhx509_la_SOURCES = \
ca.c \
cert.c \
@@ -64,6 +67,10 @@ dist_libhx509_la_SOURCES = \
hx509-protos.h \
hx509.h \
hx_locl.h \
sel.c \
sel.h \
sel-gram.y \
sel-lex.l \
keyset.c \
ks_dir.c \
ks_file.c \
@@ -81,6 +88,8 @@ dist_libhx509_la_SOURCES = \
req.c \
revoke.c
sel-lex.c: sel-gram.h
libhx509_la_LIBADD = \
$(LIB_com_err) \
$(LIB_hcrypto) \
@@ -184,7 +193,8 @@ test_soft_pkcs11_CPPFLAGS = -I$(srcdir)/ref
TESTS = $(SCRIPT_TESTS) $(PROGRAM_TESTS)
PROGRAM_TESTS = \
test_name
test_name \
test_expr
SCRIPT_TESTS = \
test_ca \