Class OCSPResponseStructure


  • public class OCSPResponseStructure
    extends Object
    Holds OCSP response (parsed) and some additional metadata, e.g. extracted from HTTP headers.
    Author:
    K. Benedyczak
    • Constructor Detail

      • OCSPResponseStructure

        public OCSPResponseStructure​(org.bouncycastle.cert.ocsp.OCSPResp response,
                                     Date maxCache)
        Parameters:
        response - OSCP response
        maxCache - max cache date
    • Method Detail

      • getResponse

        public org.bouncycastle.cert.ocsp.OCSPResp getResponse()
        Returns:
        the response
      • setResponse

        public void setResponse​(org.bouncycastle.cert.ocsp.OCSPResp response)
        Parameters:
        response - the response to set
      • getMaxCache

        public Date getMaxCache()
        Returns:
        the maxCache
      • setMaxCache

        public void setMaxCache​(Date maxCache)
        Parameters:
        maxCache - the maxCache to set