RetroZilla/security/nss/tests/chains/scenarios/method.cfg
2018-05-19 22:01:21 +08:00

26 lines
565 B
INI

# 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 Method
check_ocsp OCSPEE11OCSPCA1:d
testdb ../OCSPD/Client
#EE - OK, CA - OK
verify OCSPEE11OCSPCA1:d
cert OCSPCA1OCSPRoot:d
rev_type leaf
rev_flags requireFreshInfo
rev_mtype ocsp
result pass
#EE - revoked, CA - OK
verify OCSPEE12OCSPCA1:d
cert OCSPCA1OCSPRoot:d
rev_type leaf
rev_flags requireFreshInfo
rev_mtype ocsp
result fail