1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/tests/chains/scenarios/revoc.cfg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,86 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +scenario Revocation 1.9 + 1.10 +entity Root 1.11 + type Root 1.12 + serial 10 1.13 + 1.14 +entity CA0 1.15 + type Intermediate 1.16 + issuer Root 1.17 + serial 11 1.18 + 1.19 +entity CA1 1.20 + type Intermediate 1.21 + issuer CA0 1.22 + serial 12 1.23 + 1.24 +entity EE11 1.25 + type EE 1.26 + issuer CA1 1.27 + serial 13 1.28 + 1.29 +entity EE12 1.30 + type EE 1.31 + issuer CA1 1.32 + serial 14 1.33 + 1.34 +entity CA2 1.35 + type Intermediate 1.36 + issuer CA0 1.37 + serial 15 1.38 + 1.39 +entity EE21 1.40 + type EE 1.41 + issuer CA2 1.42 + serial 16 1.43 + 1.44 +crl Root 1.45 +crl CA0 1.46 +crl CA1 1.47 +crl CA2 1.48 + 1.49 +revoke CA1 1.50 + serial 14 1.51 + 1.52 +revoke CA0 1.53 + serial 15 1.54 + 1.55 +db All 1.56 + 1.57 +import Root::CTu,CTu,CTu 1.58 +import CA0:Root: 1.59 +import CA1:CA0: 1.60 +import CA2:CA0: 1.61 + 1.62 +# EE11 - not revoked 1.63 +verify EE11:CA1 1.64 + trust Root: 1.65 + rev_type leaf 1.66 + rev_mtype crl 1.67 + result pass 1.68 + 1.69 +# EE12 - revoked 1.70 +verify EE12:CA1 1.71 + trust Root: 1.72 + rev_type leaf 1.73 + rev_mtype crl 1.74 + result fail 1.75 + 1.76 +# EE11 - CA1 not revoked 1.77 +verify EE11:CA1 1.78 + trust Root: 1.79 + rev_type chain 1.80 + rev_mtype crl 1.81 + result pass 1.82 + 1.83 +# EE21 - CA2 revoked 1.84 +verify EE21:CA2 1.85 + trust Root: 1.86 + rev_type chain 1.87 + rev_mtype crl 1.88 + result fail 1.89 +