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 explicitPolicy michael@0: michael@0: entity Root michael@0: type Root michael@0: michael@0: entity nonEVCA michael@0: type Intermediate michael@0: issuer Root michael@0: michael@0: entity EVCA michael@0: type Intermediate michael@0: issuer Root michael@0: policy OID.1.0 michael@0: michael@0: entity otherEVCA michael@0: type Intermediate michael@0: issuer Root michael@0: policy OID.2.0 michael@0: michael@0: entity validEV michael@0: type EE michael@0: issuer EVCA michael@0: policy OID.1.0 michael@0: michael@0: entity invalidEV michael@0: type EE michael@0: issuer nonEVCA michael@0: policy OID.1.0 michael@0: michael@0: entity wrongEVOID michael@0: type EE michael@0: issuer otherEVCA michael@0: policy OID.1.0 michael@0: michael@0: db All michael@0: michael@0: verify validEV:EVCA michael@0: cert EVCA:Root michael@0: cert Root: michael@0: trust Root: michael@0: policy OID.1.0 michael@0: result pass michael@0: michael@0: verify invalidEV:nonEVCA michael@0: cert nonEVCA:Root michael@0: cert Root: michael@0: trust Root: michael@0: policy OID.1.0 michael@0: result fail michael@0: michael@0: verify wrongEVOID:otherEVCA michael@0: cert otherEVCA:Root michael@0: cert Root: michael@0: trust Root: michael@0: policy OID.1.0 michael@0: result fail michael@0: michael@0: import Root::C,C,C michael@0: michael@0: verify validEV:EVCA michael@0: cert EVCA:Root michael@0: policy OID.1.0 michael@0: result pass michael@0: michael@0: verify invalidEV:nonEVCA michael@0: cert nonEVCA:Root michael@0: policy OID.1.0 michael@0: result fail michael@0: michael@0: verify wrongEVOID:otherEVCA michael@0: cert otherEVCA:Root michael@0: policy OID.1.0 michael@0: result fail michael@0: