Package org.xipki.ocsp.client
Class HttpOcspRequestor
- java.lang.Object
-
- org.xipki.ocsp.client.AbstractOcspRequestor
-
- org.xipki.ocsp.client.HttpOcspRequestor
-
- All Implemented Interfaces:
OcspRequestor
public class HttpOcspRequestor extends AbstractOcspRequestor
HTTP OCSP requestor.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description HttpOcspRequestor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]send(byte[] request, URL responderUrl, RequestOptions requestOptions)Sends the request to the OCSP responder.-
Methods inherited from class org.xipki.ocsp.client.AbstractOcspRequestor
ask, ask, ask, ask, getSecurityFactory, getSignerCertFile, getSignerConf, getSignerType, setSecurityFactory, setSignerCertFile, setSignerConf, setSignerType
-
-
-
-
Method Detail
-
send
protected byte[] send(byte[] request, URL responderUrl, RequestOptions requestOptions) throws IOExceptionDescription copied from class:AbstractOcspRequestorSends the request to the OCSP responder.- Specified by:
sendin classAbstractOcspRequestor- Parameters:
request- Request. Must not benull.responderUrl- Responder URL. Must not benull.requestOptions- Request options. Must not benull.- Returns:
- received response
- Throws:
IOException- if the transmission failed.
-
-