public class OcspServerImpl extends Object implements org.xipki.ocsp.api.OcspServer
OcspServer.| Modifier and Type | Field and Description |
|---|---|
static long |
DFLT_CACHE_MAX_AGE |
| Constructor and Description |
|---|
OcspServerImpl() |
| 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) |
org.xipki.util.HealthCheckResult |
healthCheck(org.xipki.ocsp.api.Responder responder2) |
void |
init() |
void |
init(boolean force) |
boolean |
isInitialized() |
void |
refreshTokenForSignerType(String signerType) |
void |
setConfFile(String confFile) |
void |
setSecurityFactory(org.xipki.security.SecurityFactory securityFactory) |
public static final long DFLT_CACHE_MAX_AGE
public void setSecurityFactory(org.xipki.security.SecurityFactory securityFactory)
public void setConfFile(String confFile)
public org.xipki.ocsp.api.ResponderAndPath getResponderForPath(String path) throws UnsupportedEncodingException
getResponderForPath in interface org.xipki.ocsp.api.OcspServerUnsupportedEncodingExceptionpublic ResponderImpl getResponder(String name)
public boolean isInitialized()
public void init()
throws org.xipki.util.InvalidConfException,
org.xipki.datasource.DataAccessException,
org.xipki.password.PasswordResolverException
org.xipki.util.InvalidConfExceptionorg.xipki.datasource.DataAccessExceptionorg.xipki.password.PasswordResolverExceptionpublic void init(boolean force)
throws org.xipki.util.InvalidConfException,
org.xipki.password.PasswordResolverException
org.xipki.util.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 org.xipki.util.HealthCheckResult healthCheck(org.xipki.ocsp.api.Responder responder2)
healthCheck in interface org.xipki.ocsp.api.OcspServerpublic void refreshTokenForSignerType(String signerType) throws org.xipki.security.XiSecurityException
org.xipki.security.XiSecurityExceptionCopyright © 2019. All rights reserved.