public interface ICRLRepository
| Modifier and Type | Method and Description |
|---|---|
void |
addCRLIssuingPointRecord(ICRLIssuingPointRecord rec)
Adds CRL issuing point record.
|
void |
deleteCRLIssuingPointRecord(java.lang.String id)
Deletes issuing point record.
|
java.util.Vector<java.lang.String> |
getIssuingPointsNames()
Retrieves all the issuing points' names.
|
void |
modifyCRLIssuingPointRecord(java.lang.String id,
ModificationSet mods)
Modifies issuing point record.
|
ICRLIssuingPointRecord |
readCRLIssuingPointRecord(java.lang.String id)
Reads issuing point record.
|
void |
updateCRLCache(java.lang.String id,
java.lang.Long crlSize,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> revokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> unrevokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> expiredCerts)
Updates CRL issuing point record.
|
void |
updateCRLIssuingPointRecord(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.
|
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,netscape.security.x509.RevokedCertificate> revokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> unrevokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> expiredCerts)
Updates CRL issuing point record.
|
void |
updateDeltaCRL(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.
|
void |
updateExpiredCerts(java.lang.String id,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> expiredCerts)
Updates CRL issuing point record.
|
void |
updateFirstUnsaved(java.lang.String id,
java.lang.String firstUnsaved)
Updates CRL issuing point record with reference to the first
unsaved data.
|
void |
updateRevokedCerts(java.lang.String id,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> revokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> unrevokedCerts)
Updates CRL issuing point record.
|
void addCRLIssuingPointRecord(ICRLIssuingPointRecord rec) throws EBaseException
rec - issuing point recordEBaseException - failed to add new issuing point recordjava.util.Vector<java.lang.String> getIssuingPointsNames()
throws EBaseException
EBaseException - failed to retrieve all the issuing points' names.ICRLIssuingPointRecord readCRLIssuingPointRecord(java.lang.String id) throws EBaseException
EBaseException - failed to read issuing point recordvoid deleteCRLIssuingPointRecord(java.lang.String id)
throws EBaseException
id - issuing point record idEBaseException - failed to delete issuing point recordvoid modifyCRLIssuingPointRecord(java.lang.String id,
ModificationSet mods)
throws EBaseException
id - issuing point record idmods - set of modificationsEBaseException - failed to modify issuing point recordvoid updateCRLIssuingPointRecord(java.lang.String id,
byte[] newCRL,
java.util.Date thisUpdate,
java.util.Date nextUpdate,
java.math.BigInteger crlNumber,
java.lang.Long crlSize)
throws EBaseException
id - issuing point record idnewCRL - encoded binary CRLthisUpdate - time of this updatenextUpdate - time of next updatecrlNumber - CRL numbercrlSize - CRL sizeEBaseException - failed to update issuing point recordvoid 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,netscape.security.x509.RevokedCertificate> revokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> unrevokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> expiredCerts)
throws EBaseException
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 certificatesEBaseException - failed to update issuing point recordvoid updateRevokedCerts(java.lang.String id,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> revokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> unrevokedCerts)
throws EBaseException
id - issuing point record idrevokedCerts - list of revoked certificatesunrevokedCerts - list of released from hold certificatesEBaseException - failed to update issuing point recordvoid updateExpiredCerts(java.lang.String id,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> expiredCerts)
throws EBaseException
id - issuing point record idexpiredCerts - list of expired certificatesEBaseException - failed to update issuing point recordvoid updateCRLCache(java.lang.String id,
java.lang.Long crlSize,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> revokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> unrevokedCerts,
java.util.Hashtable<java.math.BigInteger,netscape.security.x509.RevokedCertificate> expiredCerts)
throws EBaseException
id - issuing point record idcrlSize - CRL sizerevokedCerts - list of revoked certificatesunrevokedCerts - list of released from hold certificatesexpiredCerts - list of expired certificatesEBaseException - failed to update issuing point recordvoid updateDeltaCRL(java.lang.String id,
java.math.BigInteger deltaCRLNumber,
java.lang.Long deltaCRLSize,
java.util.Date nextUpdate,
byte[] deltaCRL)
throws EBaseException
id - issuing point record iddeltaCRLNumber - delta CRL numberdeltaCRLSize - delta CRL sizenextUpdate - time of next updatedeltaCRL - delta CRL in binary formEBaseException - failed to update issuing point recordvoid updateFirstUnsaved(java.lang.String id,
java.lang.String firstUnsaved)
throws EBaseException
id - issuing point record idfirstUnsaved - reference to the first unsaved dataEBaseException - failed to update issuing point record