Class OCSPResponseStructure

java.lang.Object
eu.emi.security.authn.x509.helpers.ocsp.OCSPResponseStructure

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

    • OCSPResponseStructure

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

    • 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