Class Actions.OcspStatus

    • Field Detail

    • Constructor Detail

      • OcspStatus

        public OcspStatus()
    • Method Detail

      • checkParameters

        protected void checkParameters​(org.xipki.security.X509Cert respIssuer,
                                       List<BigInteger> serialNumbers,
                                       Map<BigInteger,​byte[]> encodedCerts)
                                throws Exception
        Description copied from class: Actions.BaseOcspStatusAction
        Check whether the parameters are valid.
        Specified by:
        checkParameters in class Actions.BaseOcspStatusAction
        Parameters:
        respIssuer - Expected responder issuer. Could be null.
        serialNumbers - Expected serial numbers. Must not be null.
        encodedCerts - Map of serial number and the corresponding certificate. Could be null.
        Throws:
        Exception - if checking failed.
      • processResponse

        protected void processResponse​(org.bouncycastle.cert.ocsp.OCSPResp response,
                                       org.xipki.security.X509Cert respIssuer,
                                       org.xipki.security.IssuerHash issuerHash,
                                       List<BigInteger> serialNumbers,
                                       Map<BigInteger,​byte[]> encodedCerts)
                                throws Exception
        Description copied from class: Actions.BaseOcspStatusAction
        Check whether the response has the expected issuer, certificate serial numbers and for the given encoded certificates.
        Specified by:
        processResponse in class Actions.BaseOcspStatusAction
        Parameters:
        response - OCSP response. Must not be null.
        respIssuer - Expected responder issuer. Could be null.
        issuerHash - Expected issuer hash. Must not be null.
        serialNumbers - Expected serial numbers. Must not be null.
        encodedCerts - Map of serial number and the corresponding certificate. Could be null.
        Throws:
        Exception - if processing response failed.