1# This Source Code Form is subject to the terms of the Mozilla Public
2# License, v. 2.0. If a copy of the MPL was not distributed with this
3# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5scenario BridgeWithHalfAIA
6
7entity Army
8  type Root
9
10entity Navy
11  type Root
12
13entity Bridge
14  type Bridge
15  issuer Army
16  issuer Navy
17
18entity CA1
19  type Intermediate
20  issuer Bridge
21    aia Bridge
22
23entity EE1
24  type EE
25  issuer CA1
26
27entity CA2
28  type Intermediate
29  issuer Bridge
30    aia Bridge:Navy
31
32entity EE2
33  type EE
34  issuer CA2
35
36testdb EE1
37
38verify EE1:CA1
39  cert CA1:Bridge
40  trust Army:
41  result fail
42
43verify EE1:CA1
44  cert CA1:Bridge
45  trust Army:
46  fetch
47# should pass, bug 435314
48# temporary result - test fails only with dbm cert db
49  result dbm:fail all:pass
50
51verify EE1:CA1
52  cert CA1:Bridge
53  trust Navy:
54  fetch
55  result pass
56
57verify EE1:CA1
58  cert CA1:Bridge
59  cert Bridge:Army
60  trust Navy:
61  fetch
62  result pass
63
64verify EE2:CA2
65  cert Bridge:Army
66  trust Army:
67  fetch
68  result fail
69
70verify EE2:CA2
71  cert CA2:Bridge
72  cert Bridge:Army
73  trust Army:
74  fetch
75  result pass
76
77verify EE2:CA2
78  cert CA2:Bridge
79  trust Navy:
80  fetch
81  result pass
82
83verify EE2:CA2
84  cert CA2:Bridge
85  cert Bridge:Army
86  trust Navy:
87  fetch
88  result pass
89
90