Lines Matching +full:non +full:-
2 # Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved.
26 my $ocspdir=srctop_dir("test", "ocsp-tests");
28 my @check_time=("-attime", "1355875200");
42 run(app(["openssl", "base64", "-d",
43 "-in", catfile($ocspdir,$inputfile),
44 "-out", $outputfile]));
46 sub { ok(run(app(["openssl", "ocsp", "-respin", $outputfile,
47 "-partial_chain", @check_time,
48 "-CAfile", catfile($ocspdir, $CAfile),
49 "-verify_other", catfile($ocspdir, $untrusted),
50 "-no-CApath", "-no-CAstore",
51 $nochecks ? "-no_cert_checks" : ()])),
60 test_ocsp("NON-DELEGATED; Intermediate CA -> EE",
62 test_ocsp("NON-DELEGATED; Root CA -> Intermediate CA",
64 test_ocsp("NON-DELEGATED; Root CA -> EE",
66 test_ocsp("NON-DELEGATED; 3-level CA hierarchy",
67 "ND1.ors", "ND1_Cross_Root.pem", "ND1_Issuer_ICA-Cross.pem", 0, 0);
68 test_ocsp("DELEGATED; Intermediate CA -> EE",
70 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
72 test_ocsp("DELEGATED; Root CA -> EE",
79 test_ocsp("NON-DELEGATED; Intermediate CA -> EE",
81 test_ocsp("NON-DELEGATED; Root CA -> Intermediate CA",
83 test_ocsp("NON-DELEGATED; Root CA -> EE",
85 test_ocsp("DELEGATED; Intermediate CA -> EE",
87 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
89 test_ocsp("DELEGATED; Root CA -> EE",
96 test_ocsp("NON-DELEGATED; Intermediate CA -> EE",
98 test_ocsp("NON-DELEGATED; Root CA -> Intermediate CA",
100 test_ocsp("NON-DELEGATED; Root CA -> EE",
102 test_ocsp("DELEGATED; Intermediate CA -> EE",
104 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
106 test_ocsp("DELEGATED; Root CA -> EE",
113 test_ocsp("NON-DELEGATED; Intermediate CA -> EE",
115 test_ocsp("NON-DELEGATED; Root CA -> Intermediate CA",
117 test_ocsp("NON-DELEGATED; Root CA -> EE",
119 test_ocsp("DELEGATED; Intermediate CA -> EE",
121 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
123 test_ocsp("DELEGATED; Root CA -> EE",
130 test_ocsp("NON-DELEGATED; Intermediate CA -> EE",
132 test_ocsp("NON-DELEGATED; Root CA -> Intermediate CA",
134 test_ocsp("NON-DELEGATED; Root CA -> EE",
136 test_ocsp("DELEGATED; Intermediate CA -> EE",
138 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
140 test_ocsp("DELEGATED; Root CA -> EE",
147 test_ocsp("DELEGATED; Intermediate CA -> EE",
149 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
151 test_ocsp("DELEGATED; Root CA -> EE",
158 test_ocsp("DELEGATED; Intermediate CA -> EE",
160 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
162 test_ocsp("DELEGATED; Root CA -> EE",
164 test_ocsp("DELEGATED; Intermediate CA -> EE",
166 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
168 test_ocsp("DELEGATED; Root CA -> EE",
175 test_ocsp("NON-DELEGATED; Intermediate CA -> EE",
177 test_ocsp("NON-DELEGATED; Root CA -> Intermediate CA",
179 test_ocsp("NON-DELEGATED; Root CA -> EE",
181 test_ocsp("DELEGATED; Intermediate CA -> EE",
183 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
185 test_ocsp("DELEGATED; Root CA -> EE",
192 test_ocsp("NON-DELEGATED; Intermediate CA -> EE",
194 test_ocsp("NON-DELEGATED; Root CA -> Intermediate CA",
196 test_ocsp("NON-DELEGATED; Root CA -> EE",
198 test_ocsp("DELEGATED; Intermediate CA -> EE",
200 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
202 test_ocsp("DELEGATED; Root CA -> EE",
210 test_ocsp("NON-DELEGATED; Intermediate CA -> EE",
212 test_ocsp("NON-DELEGATED; Root CA -> Intermediate CA",
214 test_ocsp("NON-DELEGATED; Root CA -> EE",
216 test_ocsp("DELEGATED; Intermediate CA -> EE",
218 test_ocsp("DELEGATED; Root CA -> Intermediate CA",
220 test_ocsp("DELEGATED; Root CA -> EE",
238 ok(run(app(['openssl', 'ocsp', '-issuer', $cert, '-cert', $cert,
239 '-reqout', $inout1])), "produce dummy request input");
241 ok(run(app(['openssl', 'ocsp', '-reqin', $inout1, '-reqout', $inout1])));
247 ok(run(app(['openssl', 'ocsp', '-respin', $inout2, '-respout', $inout2, '-noverify'])));