security/nss/tests/chains/scenarios/mapping.cfg

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:7514edfbbff6
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
5 scenario Mapping
6
7 entity Root
8 type Root
9
10 entity CA1
11 type Intermediate
12 issuer Root
13 policy OID.1.0
14 mapping OID.1.0:OID.1.1
15
16 entity CA2
17 type Intermediate
18 issuer CA1
19 policy OID.1.1
20
21 entity User
22 type EE
23 issuer CA2
24 policy OID.1.1
25
26 db All
27
28 import Root::
29 import CA1:Root:
30 import CA2:CA1:
31
32 verify User:CA2
33 trust Root
34 policy OID.1.0
35 # should fail, bug 430859
36 result pass
37
38 verify User:CA2
39 trust Root
40 policy OID.1.1
41 # should pass, bug 430859
42 result fail
43
44 verify User:CA2
45 trust CA1
46 policy OID.1.0
47 result fail
48
49 verify User:CA2
50 trust CA1
51 policy OID.1.1
52 result pass
53
54 verify User:CA2
55 trust CA2
56 policy OID.1.0
57 result fail
58
59 verify User:CA2
60 trust CA2
61 policy OID.1.1
62 result pass
63

mercurial