PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/security/nss/tests/chains/scenarios/ocspd.cfg

http://github.com/zpao/v8monkey
Config | 169 lines | 141 code | 28 blank | 0 comment | 0 complexity | ad5fe1446c463ce1441822b7dd8ad092 MD5 | raw file
  1# ***** BEGIN LICENSE BLOCK *****
  2# Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3#
  4# The contents of this file are subject to the Mozilla Public License Version
  5# 1.1 (the "License"); you may not use this file except in compliance with
  6# the License. You may obtain a copy of the License at
  7# http://www.mozilla.org/MPL/
  8#
  9# Software distributed under the License is distributed on an "AS IS" basis,
 10# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 11# for the specific language governing rights and limitations under the
 12# License.
 13#
 14# The Original Code is the Network Security Services (NSS)
 15#
 16# The Initial Developer of the Original Code is Sun Microsystems, Inc.
 17# Portions created by the Initial Developer are Copyright (C) 2009
 18# the Initial Developer. All Rights Reserved.
 19#
 20# Contributor(s):
 21#   Slavomir Katuscak <slavomir.katuscak@sun.com>, Sun Microsystems
 22#
 23# Alternatively, the contents of this file may be used under the terms of
 24# either the GNU General Public License Version 2 or later (the "GPL"), or
 25# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 26# in which case the provisions of the GPL or the LGPL are applicable instead
 27# of those above. If you wish to allow use of your version of this file only
 28# under the terms of either the GPL or the LGPL, and not to allow others to
 29# use your version of this file under the terms of the MPL, indicate your
 30# decision by deleting the provisions above and replace them with the notice
 31# and other provisions required by the GPL or the LGPL. If you do not delete
 32# the provisions above, a recipient may use your version of this file under
 33# the terms of any one of the MPL, the GPL or the LGPL.
 34#
 35# ***** END LICENSE BLOCK *****
 36
 37scenario OCSPD
 38
 39#root CA
 40entity OCSPRoot
 41  type Root
 42
 43#CA - OK
 44entity OCSPCA1
 45  type Intermediate
 46  issuer OCSPRoot
 47  serial 1
 48  ocsp 2600
 49
 50#CA - revoked
 51entity OCSPCA2
 52  type Intermediate
 53  issuer OCSPRoot
 54  serial 2
 55  ocsp 2600
 56
 57#CA - unknown status
 58entity OCSPCA3
 59  type Intermediate
 60  issuer OCSPRoot
 61  serial 3
 62  ocsp 2599
 63
 64#EE - OK
 65entity OCSPEE11
 66  type EE
 67  issuer OCSPCA1
 68  serial 1
 69  ocsp 2601
 70
 71#EE - revoked on OCSP
 72entity OCSPEE12
 73  type EE
 74  issuer OCSPCA1
 75  serial 2
 76  ocsp 2601
 77
 78#EE - revoked on CRL
 79entity OCSPEE13
 80  type EE
 81  issuer OCSPCA1
 82  serial 3
 83  ocsp 2601
 84
 85#EE - revoked on OCSP and CRL
 86entity OCSPEE14
 87  type EE
 88  issuer OCSPCA1
 89  serial 4
 90  ocsp 2601
 91
 92#EE - unknown status
 93entity OCSPEE15
 94  type EE
 95  issuer OCSPCA1
 96  serial 5
 97  ocsp 2599
 98
 99#EE - valid EE, revoked CA
100entity OCSPEE21
101  type EE
102  issuer OCSPCA2
103  serial 1
104  ocsp 2602
105
106#EE - revoked EE, revoked CA
107entity OCSPEE22
108  type EE 
109  issuer OCSPCA2 
110  serial 2
111  ocsp 2602
112
113#EE - revoked EE, CA pointing to invalid OCSP
114entity OCSPEE23
115  type EE 
116  issuer OCSPCA2 
117  serial 3
118  ocsp 2599
119
120#EE - valid EE, CA pointing to invalid OCSP
121entity OCSPEE31
122  type EE
123  issuer OCSPCA3
124  serial 1
125  ocsp 2603
126
127#EE - revoked EE, CA pointing to invalid OCSP
128entity OCSPEE32
129  type EE 
130  issuer OCSPCA3 
131  serial 2
132  ocsp 2603
133
134#EE - EE pointing to invalid OCSP, CA pointing to invalid OCSP
135entity OCSPEE33
136  type EE 
137  issuer OCSPCA3 
138  serial 3
139  ocsp 2599
140
141crl OCSPRoot
142
143revoke OCSPRoot
144  serial 2
145
146crl OCSPCA1
147
148revoke OCSPCA1
149  serial 2
150
151revoke OCSPCA1
152  serial 4
153
154crl OCSPCA2
155
156revoke OCSPCA2
157  serial 2
158
159revoke OCSPCA2
160  serial 3
161
162crl OCSPCA3
163
164revoke OCSPCA3
165  serial 2
166
167revoke OCSPCA3
168  serial 3
169