|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDefStore
This class defines an Online Certificate Status Protocol (OCSP) store which has been extended to provide information from the internal database.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.netscape.certsrv.ocsp.IOCSPStore |
---|
getConfigParameters, setConfigParameters, validate |
Methods inherited from interface com.netscape.certsrv.base.ISubsystem |
---|
getConfigStore, getId, init, setId, shutdown, startup |
Method Detail |
---|
int getStateCount()
long getReqCount(java.lang.String id)
id
- a string associated with an OCSP request
IRepositoryRecord 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 object
EBaseException
- 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 updated
EBaseException
- occurs when the CRL cannot be updatedICRLIssuingPointRecord readCRLIssuingPoint(java.lang.String name) throws EBaseException
name
- the name of the CRL to be read
EBaseException
- occurs when the specified CRL cannot be locatedjava.util.Enumeration searchAllCRLIssuingPointRecord(int maxSize) throws EBaseException
maxSize
- specifies the largest number of hits from the search
EBaseException
- 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 search
EBaseException
- 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 record
void addCRLIssuingPoint(java.lang.String name, ICRLIssuingPointRecord rec) throws EBaseException
name
- a string representation of this CRL issuing point recordrec
- this CRL issuing point record
EBaseException
- 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 record
EBaseException
- occurs when the specified CRL issuing point
record cannot be deletedboolean isNotFoundGood()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |