Package org.xipki.qa.ocsp
Class OcspQa
- java.lang.Object
-
- org.xipki.qa.ocsp.OcspQa
-
public class OcspQa extends Object
OCSP QA.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description OcspQa(org.xipki.security.SecurityFactory securityFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResultcheckOcsp(org.bouncycastle.cert.ocsp.OCSPResp response, OcspError expectedOcspError)ValidationResultcheckOcsp(org.bouncycastle.cert.ocsp.OCSPResp response, org.xipki.security.IssuerHash issuerHash, BigInteger serialNumber, byte[] encodedCert, OcspCertStatus expectedOcspStatus, OcspResponseOption responseOption, Instant exptectedRevTime, boolean noSigVerify)ValidationResultcheckOcsp(org.bouncycastle.cert.ocsp.OCSPResp response, org.xipki.security.IssuerHash issuerHash, List<BigInteger> serialNumbers, Map<BigInteger,byte[]> encodedCerts, Map<BigInteger,OcspCertStatus> expectedOcspStatuses, Map<BigInteger,Instant> expectedRevTimes, OcspResponseOption responseOption, boolean noSigVerify)
-
-
-
Method Detail
-
checkOcsp
public ValidationResult checkOcsp(org.bouncycastle.cert.ocsp.OCSPResp response, org.xipki.security.IssuerHash issuerHash, BigInteger serialNumber, byte[] encodedCert, OcspCertStatus expectedOcspStatus, OcspResponseOption responseOption, Instant exptectedRevTime, boolean noSigVerify)
-
checkOcsp
public ValidationResult checkOcsp(org.bouncycastle.cert.ocsp.OCSPResp response, OcspError expectedOcspError)
-
checkOcsp
public ValidationResult checkOcsp(org.bouncycastle.cert.ocsp.OCSPResp response, org.xipki.security.IssuerHash issuerHash, List<BigInteger> serialNumbers, Map<BigInteger,byte[]> encodedCerts, Map<BigInteger,OcspCertStatus> expectedOcspStatuses, Map<BigInteger,Instant> expectedRevTimes, OcspResponseOption responseOption, boolean noSigVerify)
-
-