michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: scenario Revocation michael@0: michael@0: entity Root michael@0: type Root michael@0: serial 10 michael@0: michael@0: entity CA0 michael@0: type Intermediate michael@0: issuer Root michael@0: serial 11 michael@0: michael@0: entity CA1 michael@0: type Intermediate michael@0: issuer CA0 michael@0: serial 12 michael@0: michael@0: entity EE11 michael@0: type EE michael@0: issuer CA1 michael@0: serial 13 michael@0: michael@0: entity EE12 michael@0: type EE michael@0: issuer CA1 michael@0: serial 14 michael@0: michael@0: entity CA2 michael@0: type Intermediate michael@0: issuer CA0 michael@0: serial 15 michael@0: michael@0: entity EE21 michael@0: type EE michael@0: issuer CA2 michael@0: serial 16 michael@0: michael@0: crl Root michael@0: crl CA0 michael@0: crl CA1 michael@0: crl CA2 michael@0: michael@0: revoke CA1 michael@0: serial 14 michael@0: michael@0: revoke CA0 michael@0: serial 15 michael@0: michael@0: db All michael@0: michael@0: import Root::CTu,CTu,CTu michael@0: import CA0:Root: michael@0: import CA1:CA0: michael@0: import CA2:CA0: michael@0: michael@0: # EE11 - not revoked michael@0: verify EE11:CA1 michael@0: trust Root: michael@0: rev_type leaf michael@0: rev_mtype crl michael@0: result pass michael@0: michael@0: # EE12 - revoked michael@0: verify EE12:CA1 michael@0: trust Root: michael@0: rev_type leaf michael@0: rev_mtype crl michael@0: result fail michael@0: michael@0: # EE11 - CA1 not revoked michael@0: verify EE11:CA1 michael@0: trust Root: michael@0: rev_type chain michael@0: rev_mtype crl michael@0: result pass michael@0: michael@0: # EE21 - CA2 revoked michael@0: verify EE21:CA2 michael@0: trust Root: michael@0: rev_type chain michael@0: rev_mtype crl michael@0: result fail michael@0: