Package org.xipki.ocsp.server
Class OcspServerConf
- java.lang.Object
-
- org.xipki.util.ValidatableConf
-
- org.xipki.ocsp.server.OcspServerConf
-
public class OcspServerConf extends org.xipki.util.ValidatableConfConfiguration of OCSP server.- Author:
- Lijun Liao (xipki)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOcspServerConf.CaCertsstatic classOcspServerConf.CertCollectionstatic classOcspServerConf.CertpathValidationstatic classOcspServerConf.EmbedCertsModestatic classOcspServerConf.Noncestatic classOcspServerConf.RequestOptionstatic classOcspServerConf.Responderstatic classOcspServerConf.ResponseCachestatic classOcspServerConf.ResponseOptionstatic classOcspServerConf.Signerstatic classOcspServerConf.Sourcestatic classOcspServerConf.Store
-
Constructor Summary
Constructors Constructor Description OcspServerConf()
-
Method Summary
-
-
-
Method Detail
-
readConfFromFile
public static OcspServerConf readConfFromFile(String fileName) throws IOException, org.xipki.util.exception.InvalidConfException
- Throws:
IOExceptionorg.xipki.util.exception.InvalidConfException
-
getResponseCache
public OcspServerConf.ResponseCache getResponseCache()
-
setResponseCache
public void setResponseCache(OcspServerConf.ResponseCache responseCache)
-
getResponders
public List<OcspServerConf.Responder> getResponders()
-
setResponders
public void setResponders(List<OcspServerConf.Responder> responders)
-
getSigners
public List<OcspServerConf.Signer> getSigners()
-
setSigners
public void setSigners(List<OcspServerConf.Signer> signers)
-
getStores
public List<OcspServerConf.Store> getStores()
-
setStores
public void setStores(List<OcspServerConf.Store> stores)
-
getDatasources
public List<org.xipki.datasource.DataSourceConf> getDatasources()
-
setDatasources
public void setDatasources(List<org.xipki.datasource.DataSourceConf> datasources)
-
getRequestOptions
public List<OcspServerConf.RequestOption> getRequestOptions()
-
setRequestOptions
public void setRequestOptions(List<OcspServerConf.RequestOption> requestOptions)
-
getResponseOptions
public List<OcspServerConf.ResponseOption> getResponseOptions()
-
setResponseOptions
public void setResponseOptions(List<OcspServerConf.ResponseOption> responseOptions)
-
isMaster
public boolean isMaster()
-
setMaster
public void setMaster(boolean master)
-
getUnknownIssuerBehaviour
public org.xipki.ocsp.api.CertStatusInfo.UnknownIssuerBehaviour getUnknownIssuerBehaviour()
-
setUnknownIssuerBehaviour
public void setUnknownIssuerBehaviour(org.xipki.ocsp.api.CertStatusInfo.UnknownIssuerBehaviour unknownIssuerBehaviour)
-
validate
public void validate() throws org.xipki.util.exception.InvalidConfException- Specified by:
validatein classorg.xipki.util.ValidatableConf- Throws:
org.xipki.util.exception.InvalidConfException
-
-