public interface IDefStore extends IOCSPStore
Modifier and Type | Method and Description |
---|---|
void |
addCRLIssuingPoint(java.lang.String name,
ICRLIssuingPointRecord rec)
This method adds a CRL issuing point
|
void |
addRepository(java.lang.String name,
java.lang.String thisUpdate,
IRepositoryRecord rec)
This method adds a request to the default OCSP store repository.
|
ICRLIssuingPointRecord |
createCRLIssuingPointRecord(java.lang.String name,
java.math.BigInteger crlNumber,
java.lang.Long crlSize,
java.util.Date thisUpdate,
java.util.Date nextUpdate)
This method creates a CRL issuing point record.
|
IRepositoryRecord |
createRepositoryRecord()
This method creates a an OCSP default store repository record.
|
void |
deleteCRLIssuingPointRecord(java.lang.String id)
This method deletes a CRL issuing point record
|
long |
getReqCount(java.lang.String id)
This method retrieves the number of OCSP requests since startup.
|
int |
getStateCount()
This method retrieves the number of CRL updates since startup.
|
boolean |
isNotFoundGood()
This method checks to see if the OCSP response should return good
when the certificate is not found.
|
ICRLIssuingPointRecord |
readCRLIssuingPoint(java.lang.String name)
This method attempts to read the CRL issuing point.
|
java.util.Enumeration |
searchAllCRLIssuingPointRecord(int maxSize)
This method searches all CRL issuing points.
|
java.util.Enumeration |
searchCRLIssuingPointRecord(java.lang.String filter,
int maxSize)
This method searches all CRL issuing points constrained by the specified
filtering mechanism.
|
void |
updateCRL(java.security.cert.X509CRL crl)
This method updates the specified CRL.
|
boolean |
waitOnCRLUpdate()
This method specifies whether or not to wait for the Certificate
Revocation List (CRL) to be updated.
|
getConfigParameters, setConfigParameters, validate
getConfigStore, getId, init, setId, shutdown, startup
int getStateCount()
long getReqCount(java.lang.String id)
id
- a string associated with an OCSP requestIRepositoryRecord createRepositoryRecord()
void addRepository(java.lang.String name, java.lang.String thisUpdate, IRepositoryRecord rec) throws EBaseException
name
- a string representing the name of this requestthisUpdate
- the current requestrec
- an instance of the repository record objectEBaseException
- occurs when there is an error attempting to
add this request to the repositoryboolean waitOnCRLUpdate()
void updateCRL(java.security.cert.X509CRL crl) throws EBaseException
crl
- the CRL to be updatedEBaseException
- occurs when the CRL cannot be updatedICRLIssuingPointRecord readCRLIssuingPoint(java.lang.String name) throws EBaseException
name
- the name of the CRL to be readEBaseException
- occurs when the specified CRL cannot be locatedjava.util.Enumeration searchAllCRLIssuingPointRecord(int maxSize) throws EBaseException
maxSize
- specifies the largest number of hits from the searchEBaseException
- occurs when no CRL issuing point existsjava.util.Enumeration searchCRLIssuingPointRecord(java.lang.String filter, int maxSize) throws EBaseException
filter
- a string which constrains the searchmaxSize
- specifies the largest number of hits from the searchEBaseException
- occurs when no CRL issuing point existsICRLIssuingPointRecord createCRLIssuingPointRecord(java.lang.String name, java.math.BigInteger crlNumber, java.lang.Long crlSize, java.util.Date thisUpdate, java.util.Date nextUpdate)
name
- a string representation of this CRL issuing point recordcrlNumber
- the number of this CRL issuing point recordcrlSize
- the size of this CRL issuing point recordthisUpdate
- the time for this CRL issuing point recordnextUpdate
- the time for the next CRL issuing point recordvoid addCRLIssuingPoint(java.lang.String name, ICRLIssuingPointRecord rec) throws EBaseException
name
- a string representation of this CRL issuing point recordrec
- this CRL issuing point recordEBaseException
- occurs when the specified CRL issuing point
record cannot be addedvoid deleteCRLIssuingPointRecord(java.lang.String id) throws EBaseException
id
- a string representation of this CRL issuing point recordEBaseException
- occurs when the specified CRL issuing point
record cannot be deletedboolean isNotFoundGood()