public class OcspServerImpl extends Object implements org.xipki.ocsp.api.OcspServer
OcspServer.| Constructor and Description |
|---|
OcspServerImpl(org.xipki.license.api.OcspLicense license) |
| Modifier and Type | Method and Description |
|---|---|
org.xipki.ocsp.api.OcspRespWithCacheInfo |
answer(org.xipki.ocsp.api.Responder responder2,
byte[] request,
boolean viaGet) |
void |
close() |
ResponderImpl |
getResponder(String name) |
org.xipki.ocsp.api.ResponderAndPath |
getResponderForPath(String path) |
boolean |
healthCheck(org.xipki.ocsp.api.Responder responder2) |
void |
init() |
void |
init(boolean force) |
boolean |
isInitialized() |
void |
setConfFile(String confFile) |
void |
setSecurityFactory(org.xipki.security.SecurityFactory securityFactory) |
public void setSecurityFactory(org.xipki.security.SecurityFactory securityFactory)
public void setConfFile(String confFile)
public org.xipki.ocsp.api.ResponderAndPath getResponderForPath(String path)
getResponderForPath in interface org.xipki.ocsp.api.OcspServerpublic ResponderImpl getResponder(String name)
public boolean isInitialized()
public void init()
throws org.xipki.util.exception.InvalidConfException,
org.xipki.password.PasswordResolverException
org.xipki.util.exception.InvalidConfExceptionorg.xipki.password.PasswordResolverExceptionpublic void init(boolean force)
throws org.xipki.util.exception.InvalidConfException,
org.xipki.password.PasswordResolverException
org.xipki.util.exception.InvalidConfExceptionorg.xipki.password.PasswordResolverExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic org.xipki.ocsp.api.OcspRespWithCacheInfo answer(org.xipki.ocsp.api.Responder responder2,
byte[] request,
boolean viaGet)
answer in interface org.xipki.ocsp.api.OcspServerpublic boolean healthCheck(org.xipki.ocsp.api.Responder responder2)
healthCheck in interface org.xipki.ocsp.api.OcspServerCopyright © 2023. All rights reserved.