eu.emi.security.authn.x509.helpers.ocsp
Class OCSPResponseStructure

java.lang.Object
  extended by 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 Summary
OCSPResponseStructure(OCSPResp response, Date maxCache)
           
 
Method Summary
 Date getMaxCache()
           
 OCSPResp getResponse()
           
 void setMaxCache(Date maxCache)
           
 void setResponse(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(OCSPResp response,
                             Date maxCache)
Parameters:
response -
maxCache -
Method Detail

getResponse

public OCSPResp getResponse()
Returns:
the response

setResponse

public void setResponse(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


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.