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
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | scenario Extension |
michael@0 | 6 | |
michael@0 | 7 | entity Root |
michael@0 | 8 | type Root |
michael@0 | 9 | |
michael@0 | 10 | entity CA1 |
michael@0 | 11 | type Intermediate |
michael@0 | 12 | issuer Root |
michael@0 | 13 | policy OID.1.0 |
michael@0 | 14 | |
michael@0 | 15 | entity CA2 |
michael@0 | 16 | type Intermediate |
michael@0 | 17 | issuer CA1 |
michael@0 | 18 | policy OID.1.0 |
michael@0 | 19 | |
michael@0 | 20 | entity User |
michael@0 | 21 | type EE |
michael@0 | 22 | issuer CA2 |
michael@0 | 23 | policy OID.1.0 |
michael@0 | 24 | |
michael@0 | 25 | db All |
michael@0 | 26 | |
michael@0 | 27 | verify User:CA2 |
michael@0 | 28 | cert CA2:CA1 |
michael@0 | 29 | cert CA1:Root |
michael@0 | 30 | cert Root: |
michael@0 | 31 | trust Root: |
michael@0 | 32 | policy OID.1.0 |
michael@0 | 33 | result pass |
michael@0 | 34 | |
michael@0 | 35 | verify User:CA2 |
michael@0 | 36 | cert CA2:CA1 |
michael@0 | 37 | cert CA1:Root |
michael@0 | 38 | cert Root: |
michael@0 | 39 | trust Root: |
michael@0 | 40 | policy OID.2.0 |
michael@0 | 41 | result fail |
michael@0 | 42 | |
michael@0 | 43 | verify User:CA2 |
michael@0 | 44 | cert CA2:CA1 |
michael@0 | 45 | cert CA1:Root |
michael@0 | 46 | trust CA1:Root |
michael@0 | 47 | policy OID.1.0 |
michael@0 | 48 | result pass |
michael@0 | 49 | |
michael@0 | 50 | verify User:CA2 |
michael@0 | 51 | cert CA2:CA1 |
michael@0 | 52 | cert CA1:Root |
michael@0 | 53 | trust CA1:Root |
michael@0 | 54 | policy OID.2.0 |
michael@0 | 55 | result fail |
michael@0 | 56 | |
michael@0 | 57 | verify User:CA2 |
michael@0 | 58 | cert CA2:CA1 |
michael@0 | 59 | trust CA2:CA1 |
michael@0 | 60 | policy OID.1.0 |
michael@0 | 61 | result pass |
michael@0 | 62 | |
michael@0 | 63 | verify User:CA2 |
michael@0 | 64 | cert CA2:CA1 |
michael@0 | 65 | trust CA2:CA1 |
michael@0 | 66 | policy OID.2.0 |
michael@0 | 67 | result fail |
michael@0 | 68 | |
michael@0 | 69 | import Root:: |
michael@0 | 70 | import CA1:Root: |
michael@0 | 71 | import CA2:CA1: |
michael@0 | 72 | |
michael@0 | 73 | verify User:CA2 |
michael@0 | 74 | trust Root |
michael@0 | 75 | policy OID.1.0 |
michael@0 | 76 | result pass |
michael@0 | 77 | |
michael@0 | 78 | verify User:CA2 |
michael@0 | 79 | trust Root |
michael@0 | 80 | policy OID.2.0 |
michael@0 | 81 | result fail |
michael@0 | 82 | |
michael@0 | 83 | verify User:CA2 |
michael@0 | 84 | trust CA1 |
michael@0 | 85 | policy OID.1.0 |
michael@0 | 86 | result pass |
michael@0 | 87 | |
michael@0 | 88 | verify User:CA2 |
michael@0 | 89 | trust CA1 |
michael@0 | 90 | policy OID.2.0 |
michael@0 | 91 | result fail |
michael@0 | 92 | |
michael@0 | 93 | verify User:CA2 |
michael@0 | 94 | trust CA2 |
michael@0 | 95 | policy OID.1.0 |
michael@0 | 96 | result pass |
michael@0 | 97 | |
michael@0 | 98 | verify User:CA2 |
michael@0 | 99 | trust CA2 |
michael@0 | 100 | policy OID.2.0 |
michael@0 | 101 | result fail |
michael@0 | 102 |