Package org.xipki.ocsp.mgmt.client
Class OcspMgmtClient
- java.lang.Object
-
- org.xipki.ocsp.mgmt.client.OcspMgmtClient
-
- All Implemented Interfaces:
org.xipki.ocsp.api.mgmt.OcspManager
public class OcspMgmtClient extends Object implements org.xipki.ocsp.api.mgmt.OcspManager
OCSP Management client. It communicates with the server via REST API.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description OcspMgmtClient(org.xipki.util.http.SslContextConf sslContextConf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitIfNotDone()voidrestartOcspServer()voidsetServerUrl(String serverUrl)
-
-
-
Method Detail
-
setServerUrl
public void setServerUrl(String serverUrl) throws MalformedURLException
- Throws:
MalformedURLException
-
initIfNotDone
public void initIfNotDone() throws org.xipki.ocsp.api.mgmt.OcspMgmtException- Throws:
org.xipki.ocsp.api.mgmt.OcspMgmtException
-
restartOcspServer
public void restartOcspServer() throws org.xipki.ocsp.api.mgmt.OcspMgmtException- Specified by:
restartOcspServerin interfaceorg.xipki.ocsp.api.mgmt.OcspManager- Throws:
org.xipki.ocsp.api.mgmt.OcspMgmtException
-
-