Package com.netscape.certsrv.dbs.crldb
Interface ICRLRepository
-
- All Known Implementing Classes:
CRLRepository
public interface ICRLRepositoryAn interface represents a CMS CRL repository. It stores all the CRL issuing points.- Version:
- $Revision$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddCRLIssuingPointRecord(ICRLIssuingPointRecord rec)Adds CRL issuing point record.voiddeleteCRLIssuingPointRecord(java.lang.String id)Deletes issuing point record.java.util.Vector<java.lang.String>getIssuingPointsNames()Retrieves all the issuing points' names.voidmodifyCRLIssuingPointRecord(java.lang.String id, ModificationSet mods)Modifies issuing point record.ICRLIssuingPointRecordreadCRLIssuingPointRecord(java.lang.String id)Reads issuing point record.voidupdateCRLCache(java.lang.String id, java.lang.Long crlSize, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts)Updates CRL issuing point record.voidupdateCRLIssuingPointRecord(java.lang.String id, byte[] newCRL, java.util.Date thisUpdate, java.util.Date nextUpdate, java.math.BigInteger crlNumber, java.lang.Long crlSize)Updates CRL issuing point record.voidupdateCRLIssuingPointRecord(java.lang.String id, byte[] newCRL, java.util.Date thisUpdate, java.util.Date nextUpdate, java.math.BigInteger crlNumber, java.lang.Long crlSize, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts)Updates CRL issuing point record.voidupdateDeltaCRL(java.lang.String id, java.math.BigInteger deltaCRLNumber, java.lang.Long deltaCRLSize, java.util.Date nextUpdate, byte[] deltaCRL)Updates CRL issuing point record with delta-CRL.voidupdateExpiredCerts(java.lang.String id, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts)Updates CRL issuing point record.voidupdateFirstUnsaved(java.lang.String id, java.lang.String firstUnsaved)Updates CRL issuing point record with reference to the first unsaved data.voidupdateRevokedCerts(java.lang.String id, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts)Updates CRL issuing point record.
-
-
-
Method Detail
-
addCRLIssuingPointRecord
void addCRLIssuingPointRecord(ICRLIssuingPointRecord rec) throws EBaseException
Adds CRL issuing point record.- Parameters:
rec- issuing point record- Throws:
EBaseException- failed to add new issuing point record
-
getIssuingPointsNames
java.util.Vector<java.lang.String> getIssuingPointsNames() throws EBaseExceptionRetrieves all the issuing points' names.- Returns:
- A list of issuing points' names.
- Throws:
EBaseException- failed to retrieve all the issuing points' names.
-
readCRLIssuingPointRecord
ICRLIssuingPointRecord readCRLIssuingPointRecord(java.lang.String id) throws EBaseException
Reads issuing point record.- Returns:
- issuing point record
- Throws:
EBaseException- failed to read issuing point record
-
deleteCRLIssuingPointRecord
void deleteCRLIssuingPointRecord(java.lang.String id) throws EBaseExceptionDeletes issuing point record.- Parameters:
id- issuing point record id- Throws:
EBaseException- failed to delete issuing point record
-
modifyCRLIssuingPointRecord
void modifyCRLIssuingPointRecord(java.lang.String id, ModificationSet mods) throws EBaseExceptionModifies issuing point record.- Parameters:
id- issuing point record idmods- set of modifications- Throws:
EBaseException- failed to modify issuing point record
-
updateCRLIssuingPointRecord
void updateCRLIssuingPointRecord(java.lang.String id, byte[] newCRL, java.util.Date thisUpdate, java.util.Date nextUpdate, java.math.BigInteger crlNumber, java.lang.Long crlSize) throws EBaseExceptionUpdates CRL issuing point record.- Parameters:
id- issuing point record idnewCRL- encoded binary CRLthisUpdate- time of this updatenextUpdate- time of next updatecrlNumber- CRL numbercrlSize- CRL size- Throws:
EBaseException- failed to update issuing point record
-
updateCRLIssuingPointRecord
void updateCRLIssuingPointRecord(java.lang.String id, byte[] newCRL, java.util.Date thisUpdate, java.util.Date nextUpdate, java.math.BigInteger crlNumber, java.lang.Long crlSize, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts) throws EBaseExceptionUpdates CRL issuing point record.- Parameters:
id- issuing point record idnewCRL- encoded binary CRLthisUpdate- time of this updatenextUpdate- time of next updatecrlNumber- CRL numbercrlSize- CRL sizerevokedCerts- list of revoked certificatesunrevokedCerts- list of released from hold certificatesexpiredCerts- list of expired certificates- Throws:
EBaseException- failed to update issuing point record
-
updateRevokedCerts
void updateRevokedCerts(java.lang.String id, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts) throws EBaseExceptionUpdates CRL issuing point record.- Parameters:
id- issuing point record idrevokedCerts- list of revoked certificatesunrevokedCerts- list of released from hold certificates- Throws:
EBaseException- failed to update issuing point record
-
updateExpiredCerts
void updateExpiredCerts(java.lang.String id, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts) throws EBaseExceptionUpdates CRL issuing point record.- Parameters:
id- issuing point record idexpiredCerts- list of expired certificates- Throws:
EBaseException- failed to update issuing point record
-
updateCRLCache
void updateCRLCache(java.lang.String id, java.lang.Long crlSize, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, java.util.Hashtable<java.math.BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts) throws EBaseExceptionUpdates CRL issuing point record.- Parameters:
id- issuing point record idcrlSize- CRL sizerevokedCerts- list of revoked certificatesunrevokedCerts- list of released from hold certificatesexpiredCerts- list of expired certificates- Throws:
EBaseException- failed to update issuing point record
-
updateDeltaCRL
void updateDeltaCRL(java.lang.String id, java.math.BigInteger deltaCRLNumber, java.lang.Long deltaCRLSize, java.util.Date nextUpdate, byte[] deltaCRL) throws EBaseExceptionUpdates CRL issuing point record with delta-CRL.- Parameters:
id- issuing point record iddeltaCRLNumber- delta CRL numberdeltaCRLSize- delta CRL sizenextUpdate- time of next updatedeltaCRL- delta CRL in binary form- Throws:
EBaseException- failed to update issuing point record
-
updateFirstUnsaved
void updateFirstUnsaved(java.lang.String id, java.lang.String firstUnsaved) throws EBaseExceptionUpdates CRL issuing point record with reference to the first unsaved data.- Parameters:
id- issuing point record idfirstUnsaved- reference to the first unsaved data- Throws:
EBaseException- failed to update issuing point record
-
-