Class OCSPResponseStructure


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

      Constructors 
      Constructor Description
      OCSPResponseStructure​(org.bouncycastle.cert.ocsp.OCSPResp response, java.util.Date maxCache)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date getMaxCache()  
      org.bouncycastle.cert.ocsp.OCSPResp getResponse()  
      void setMaxCache​(java.util.Date maxCache)  
      void setResponse​(org.bouncycastle.cert.ocsp.OCSPResp response)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OCSPResponseStructure

        public OCSPResponseStructure​(org.bouncycastle.cert.ocsp.OCSPResp response,
                                     java.util.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 java.util.Date getMaxCache()
        Returns:
        the maxCache
      • setMaxCache

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