Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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/.
5 scenario Extension
7 entity Root
8 type Root
10 entity CA1
11 type Intermediate
12 issuer Root
13 policy OID.1.0
15 entity CA2
16 type Intermediate
17 issuer CA1
18 policy OID.1.0
20 entity User
21 type EE
22 issuer CA2
23 policy OID.1.0
25 db All
27 verify User:CA2
28 cert CA2:CA1
29 cert CA1:Root
30 cert Root:
31 trust Root:
32 policy OID.1.0
33 result pass
35 verify User:CA2
36 cert CA2:CA1
37 cert CA1:Root
38 cert Root:
39 trust Root:
40 policy OID.2.0
41 result fail
43 verify User:CA2
44 cert CA2:CA1
45 cert CA1:Root
46 trust CA1:Root
47 policy OID.1.0
48 result pass
50 verify User:CA2
51 cert CA2:CA1
52 cert CA1:Root
53 trust CA1:Root
54 policy OID.2.0
55 result fail
57 verify User:CA2
58 cert CA2:CA1
59 trust CA2:CA1
60 policy OID.1.0
61 result pass
63 verify User:CA2
64 cert CA2:CA1
65 trust CA2:CA1
66 policy OID.2.0
67 result fail
69 import Root::
70 import CA1:Root:
71 import CA2:CA1:
73 verify User:CA2
74 trust Root
75 policy OID.1.0
76 result pass
78 verify User:CA2
79 trust Root
80 policy OID.2.0
81 result fail
83 verify User:CA2
84 trust CA1
85 policy OID.1.0
86 result pass
88 verify User:CA2
89 trust CA1
90 policy OID.2.0
91 result fail
93 verify User:CA2
94 trust CA2
95 policy OID.1.0
96 result pass
98 verify User:CA2
99 trust CA2
100 policy OID.2.0
101 result fail