Lines Matching +full:pass +full:- +full:1

3 # Copyright (c) 2005 - 2008 Kungliga Tekniska Högskolan
11 # 1. Redistributions of source code must retain the above copyright
40 stat="--statistic-file=${objdir}/statfile"
46 --pass=PASS:foobar \
47 --info --content \
48 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1
52 --pass=PASS:foobar \
53 --info --content \
54 FILE:$srcdir/data/kdc.crt >/dev/null 2>/dev/null || exit 1
57 --pass=PASS:foobar \
58 --info \
59 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1
63 --pass=PASS:foobar \
64 --friendlyname=friendlyname-test \
65 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1
69 --pass=PASS:foobar \
70 --friendlyname=friendlyname-test-not \
71 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null && exit 1
75 --eku=1.3.6.1.5.2.3.5 \
76 FILE:$srcdir/data/kdc.crt >/dev/null 2>/dev/null || exit 1
80 --eku=1.3.6.1.5.2.3.6 \
81 FILE:$srcdir/data/kdc.crt >/dev/null 2>/dev/null && exit 1
83 echo "make sure entry is found (friendlyname, no-pw)"
85 --friendlyname=friendlyname-cert \
86 PKCS12:$srcdir/data/test-nopw.p12 >/dev/null 2>/dev/null || exit 1
90 --pass=PASS:foobar \
91 --friendlyname=ca \
92 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1
96 --pass=PASS:foobar \
97 --friendlyname=friendlyname-test \
98 PKCS12:$srcdir/data/sub-cert.p12 >/dev/null 2>/dev/null && exit 1
102 --pass=PASS:foobar \
103 --friendlyname=friendlyname-test \
104 --private-key \
105 PKCS12:$srcdir/data/test.p12 > /dev/null || exit 1
109 --pass=PASS:foobar \
110 --friendlyname=ca \
111 --private-key \
112 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null && exit 1
116 --digitalSignature \
117 FILE:$srcdir/data/test.crt >/dev/null 2>/dev/null || exit 1
121 --keyEncipherment \
122 FILE:$srcdir/data/test.crt >/dev/null 2>/dev/null || exit 1
126 --digitalSignature \
127 --keyEncipherment \
128 FILE:$srcdir/data/test.crt >/dev/null 2>/dev/null || exit 1
130 echo "make sure entry is found (cert-ds ds)"
132 --digitalSignature \
133 FILE:$srcdir/data/test-ds-only.crt >/dev/null 2>/dev/null || exit 1
135 echo "make sure entry is not found (cert-ds ke)"
137 --keyEncipherment \
138 FILE:$srcdir/data/test-ds-only.crt >/dev/null 2>/dev/null && exit 1
140 echo "make sure entry is not found (cert-ds ke + ds)"
142 --digitalSignature \
143 --keyEncipherment \
144 FILE:$srcdir/data/test-ds-only.crt >/dev/null 2>/dev/null && exit 1
146 echo "make sure entry is not found (cert-ke ds)"
148 --digitalSignature \
149 FILE:$srcdir/data/test-ke-only.crt >/dev/null 2>/dev/null && exit 1
151 echo "make sure entry is found (cert-ke ke)"
153 --keyEncipherment \
154 FILE:$srcdir/data/test-ke-only.crt >/dev/null 2>/dev/null || exit 1
156 echo "make sure entry is not found (cert-ke ke + ds)"
158 --digitalSignature \
159 --keyEncipherment \
160 FILE:$srcdir/data/test-ke-only.crt >/dev/null 2>/dev/null && exit 1
164 --expr='"1.3.6.1.5.2.3.5" IN %{certificate.eku}' \
165 FILE:$srcdir/data/kdc.crt > /dev/null || exit 1
169 --expr='"1.3.6.1.5.2.3.6" IN %{certificate.eku}' \
170 FILE:$srcdir/data/kdc.crt > /dev/null && exit 1
174 --expr='%{certificate.subject} == "CN=kdc,C=SE"' \
175 FILE:$srcdir/data/kdc.crt > /dev/null || exit 1
179 --expr='%{certificate.subject} TAILMATCH "C=SE"' \
180 FILE:$srcdir/data/kdc.crt > /dev/null || exit 1
184 --expr='%{certificate.subject} TAILMATCH "C=FI"' \
185 FILE:$srcdir/data/kdc.crt > /dev/null && exit 1
189 --expr='%{certificate.issuer} == "C=SE,CN=hx509 Test Root CA"' \
190 FILE:$srcdir/data/kdc.crt > /dev/null || exit 1
194 --expr='"1.3.6.1.5.2.3.5" IN %{certificate.eku} AND %{certificate.subject} TAILMATCH "C=SE"' \
195 FILE:$srcdir/data/kdc.crt > /dev/null || exit 1
199 --expr='"%{certificate.hash.sha1}EQ "412120212A2CBFD777DE5499ECB4724345F33F16"' \
200 FILE:$srcdir/data/kdc.crt > /dev/null || exit 1