# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

scenario OCSPD

#root CA
entity OCSPRoot
  type Root

#CA - OK
entity OCSPCA1
  type Intermediate
  issuer OCSPRoot
  serial 1
  ocsp 2600

#CA - revoked
entity OCSPCA2
  type Intermediate
  issuer OCSPRoot
  serial 2
  ocsp 2600

#CA - unknown status
entity OCSPCA3
  type Intermediate
  issuer OCSPRoot
  serial 3
  ocsp 2599

#EE - OK
entity OCSPEE11
  type EE
  issuer OCSPCA1
  serial 1
  ocsp 2601

#EE - revoked on OCSP
entity OCSPEE12
  type EE
  issuer OCSPCA1
  serial 2
  ocsp 2601

#EE - revoked on CRL
entity OCSPEE13
  type EE
  issuer OCSPCA1
  serial 3
  ocsp 2601

#EE - revoked on OCSP and CRL
entity OCSPEE14
  type EE
  issuer OCSPCA1
  serial 4
  ocsp 2601

#EE - unknown status
entity OCSPEE15
  type EE
  issuer OCSPCA1
  serial 5
  ocsp 2599

#EE - valid EE, revoked CA
entity OCSPEE21
  type EE
  issuer OCSPCA2
  serial 1
  ocsp 2602

#EE - revoked EE, revoked CA
entity OCSPEE22
  type EE 
  issuer OCSPCA2 
  serial 2
  ocsp 2602

#EE - revoked EE, CA pointing to invalid OCSP
entity OCSPEE23
  type EE 
  issuer OCSPCA2 
  serial 3
  ocsp 2599

#EE - valid EE, CA pointing to invalid OCSP
entity OCSPEE31
  type EE
  issuer OCSPCA3
  serial 1
  ocsp 2603

#EE - revoked EE, CA pointing to invalid OCSP
entity OCSPEE32
  type EE 
  issuer OCSPCA3 
  serial 2
  ocsp 2603

#EE - EE pointing to invalid OCSP, CA pointing to invalid OCSP
entity OCSPEE33
  type EE 
  issuer OCSPCA3 
  serial 3
  ocsp 2599

crl OCSPRoot

revoke OCSPRoot
  serial 2

crl OCSPCA1

revoke OCSPCA1
  serial 2

revoke OCSPCA1
  serial 4

crl OCSPCA2

revoke OCSPCA2
  serial 2

revoke OCSPCA2
  serial 3

crl OCSPCA3

revoke OCSPCA3
  serial 2

revoke OCSPCA3
  serial 3

