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 BridgeWithAIA
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
27testdb EE1
28
29verify EE1:CA1
30  cert CA1:Bridge
31  trust Army:
32  result fail
33
34verify EE1:CA1
35  cert CA1:Bridge
36  trust Army:
37  fetch
38# should pass, bug 435314
39# temporary result - test fails only with dbm cert db
40  result dbm:fail all:pass
41
42verify EE1:CA1
43  cert CA1:Bridge
44  trust Navy:
45  fetch
46  result pass
47
48verify EE1:CA1
49  cert CA1:Bridge
50  cert Bridge:Army
51  trust Navy:
52  fetch
53  result pass
54
55