Blame nss/tests/chains/scenarios/mapping2.cfg

Packit 40b132
# This Source Code Form is subject to the terms of the Mozilla Public
Packit 40b132
# License, v. 2.0. If a copy of the MPL was not distributed with this
Packit 40b132
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit 40b132
Packit 40b132
scenario Mapping2
Packit 40b132
Packit 40b132
entity Root
Packit 40b132
  type Root
Packit 40b132
Packit 40b132
entity CA1
Packit 40b132
  type Intermediate
Packit 40b132
  issuer Root 
Packit 40b132
    policy OID.1.0
Packit 40b132
Packit 40b132
entity CA2
Packit 40b132
  type Intermediate
Packit 40b132
  issuer CA1
Packit 40b132
    policy OID.1.0
Packit 40b132
    mapping OID.1.0:OID.1.1
Packit 40b132
Packit 40b132
entity CA3
Packit 40b132
  type Intermediate
Packit 40b132
  issuer CA2
Packit 40b132
    policy OID.1.1
Packit 40b132
Packit 40b132
entity User
Packit 40b132
  type EE
Packit 40b132
  issuer CA3
Packit 40b132
    policy OID.1.1
Packit 40b132
Packit 40b132
db All
Packit 40b132
Packit 40b132
import Root::
Packit 40b132
import CA1:Root:
Packit 40b132
import CA2:CA1:
Packit 40b132
import CA3:CA2:
Packit 40b132
Packit 40b132
verify User:CA3
Packit 40b132
  trust Root
Packit 40b132
  policy OID.1.0
Packit 40b132
# should fail, bug 430859
Packit 40b132
  result pass
Packit 40b132
Packit 40b132
verify User:CA3
Packit 40b132
  trust Root
Packit 40b132
  policy OID.1.1
Packit 40b132
# should pass, bug 430859
Packit 40b132
  result fail
Packit 40b132
Packit 40b132
verify User:CA3
Packit 40b132
  trust CA1
Packit 40b132
  policy OID.1.0
Packit 40b132
# should fail, bug 430859
Packit 40b132
  result pass
Packit 40b132
Packit 40b132
verify User:CA3
Packit 40b132
  trust CA1
Packit 40b132
  policy OID.1.1
Packit 40b132
# should pass, bug 430859
Packit 40b132
  result fail
Packit 40b132
Packit 40b132
verify User:CA3
Packit 40b132
  trust CA2
Packit 40b132
  policy OID.1.0
Packit 40b132
  result fail
Packit 40b132
Packit 40b132
verify User:CA3
Packit 40b132
  trust CA2
Packit 40b132
  policy OID.1.1
Packit 40b132
  result pass
Packit 40b132