Class CRLIssuingPointRecord
java.lang.Object
com.netscape.cmscore.dbs.CRLIssuingPointRecord
- All Implemented Interfaces:
IAttrSet,ICRLIssuingPointRecord,IDBObj,Serializable
A class represents a CRL issuing point record.
- Version:
- $Revision$, $Date$
- Author:
- thomask
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]protected byte[]protected Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> protected BigIntegerprotected Longprotected byte[]protected BigIntegerprotected Longprotected Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> protected Stringprotected Stringprotected Dateprotected Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> protected Dateprotected Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Fields inherited from interface com.netscape.certsrv.dbs.crldb.ICRLIssuingPointRecord
ATTR_CA_CERT, ATTR_CRL, ATTR_CRL_CACHE, ATTR_CRL_NUMBER, ATTR_CRL_SIZE, ATTR_DELTA_CRL, ATTR_DELTA_NUMBER, ATTR_DELTA_SIZE, ATTR_EXPIRED_CERTS, ATTR_FIRST_UNSAVED, ATTR_ID, ATTR_NEXT_UPDATE, ATTR_REVOKED_CERTS, ATTR_THIS_UPDATE, ATTR_UNREVOKED_CERTS, CLEAN_CACHE, NEW_CACHE -
Constructor Summary
ConstructorsConstructorDescriptionConstructs empty CRLIssuingPointRecord.CRLIssuingPointRecord(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate) Constructs a CRLIssuingPointRecordCRLIssuingPointRecord(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate, BigInteger deltaCRLNumber, Long deltaCRLSize, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts) Constructs a CRLIssuingPointRecord -
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes an attribute value from this AttrSet.Gets an attribute value.byte[]Retrieves encoded CA certificate.byte[]getCRL()Retrieves CRL encodings.Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Retrieves cache information about CRL.Retrieves CRL number.Retrieves CRL size.byte[]Retrieves CRL encodings.Retrieves delta CRL number.Retrieves CRL size.Returns an enumeration of the names of the attributes existing within this AttrSet.Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Retrieves cache info of expired certificates.Retrieve unique CRL identifier.getId()Retrieve unique CRL identifier.Retrieves next update time.Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Retrieves cache info of revoked certificates.Returns a list of serializable attribute names.Retrieves this update time.Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Retrieves cache info of unrevoked certificates.voidSets an attribute value within this AttrSet.
-
Field Details
-
mId
-
mCRLNumber
-
mCRLSize
-
mThisUpdate
-
mNextUpdate
-
mDeltaCRLNumber
-
mDeltaCRLSize
-
mFirstUnsaved
-
mCRL
protected byte[] mCRL -
mCACert
protected byte[] mCACert -
mCRLCache
-
mRevokedCerts
protected Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> mRevokedCerts -
mUnrevokedCerts
protected Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> mUnrevokedCerts -
mExpiredCerts
protected Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> mExpiredCerts -
mDeltaCRL
protected byte[] mDeltaCRL -
mNames
-
-
Constructor Details
-
CRLIssuingPointRecord
public CRLIssuingPointRecord()Constructs empty CRLIssuingPointRecord. This is required in database framework. -
CRLIssuingPointRecord
public CRLIssuingPointRecord(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate) Constructs a CRLIssuingPointRecord -
CRLIssuingPointRecord
public CRLIssuingPointRecord(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate, BigInteger deltaCRLNumber, Long deltaCRLSize, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts) Constructs a CRLIssuingPointRecord
-
-
Method Details
-
set
Description copied from interface:IAttrSetSets an attribute value within this AttrSet.- Specified by:
setin interfaceIAttrSet- Parameters:
name- the name of the attributeobj- the attribute object.- Throws:
EBaseException- on attribute handling errors.
-
get
Description copied from interface:IAttrSetGets an attribute value.- Specified by:
getin interfaceIAttrSet- Parameters:
name- the name of the attribute to return.- Throws:
EBaseException- on attribute handling errors.
-
delete
Description copied from interface:IAttrSetDeletes an attribute value from this AttrSet.- Specified by:
deletein interfaceIAttrSet- Parameters:
name- the name of the attribute to delete.- Throws:
EBaseException- on attribute handling errors.
-
getElements
Description copied from interface:IAttrSetReturns an enumeration of the names of the attributes existing within this AttrSet.- Specified by:
getElementsin interfaceIAttrSet- Returns:
- an enumeration of the attribute names.
-
getSerializableAttrNames
Description copied from interface:IDBObjReturns a list of serializable attribute names. This method should return the attribute name even if there is no attribute value for the attribute.- Specified by:
getSerializableAttrNamesin interfaceIDBObj- Returns:
- a list of serializable attribute names
-
getId
Retrieve unique CRL identifier.- Specified by:
getIdin interfaceICRLIssuingPointRecord- Returns:
- unique CRL identifier
-
getCRLNumber
Retrieves CRL number.- Specified by:
getCRLNumberin interfaceICRLIssuingPointRecord- Returns:
- current CRL number
-
getCRLSize
Retrieves CRL size.- Specified by:
getCRLSizein interfaceICRLIssuingPointRecord- Returns:
- CRL size
-
getThisUpdate
Retrieves this update time.- Specified by:
getThisUpdatein interfaceICRLIssuingPointRecord- Returns:
- time of this update
-
getNextUpdate
Retrieves next update time.- Specified by:
getNextUpdatein interfaceICRLIssuingPointRecord- Returns:
- time of next update
-
getDeltaCRLNumber
Retrieves delta CRL number.- Specified by:
getDeltaCRLNumberin interfaceICRLIssuingPointRecord- Returns:
- current delta CRL number
-
getDeltaCRLSize
Retrieves CRL size.- Specified by:
getDeltaCRLSizein interfaceICRLIssuingPointRecord- Returns:
- delta CRL size
-
getFirstUnsaved
Retrieve unique CRL identifier.- Specified by:
getFirstUnsavedin interfaceICRLIssuingPointRecord- Returns:
- reference to the first unsaved data
-
getCRL
public byte[] getCRL()Retrieves CRL encodings.- Specified by:
getCRLin interfaceICRLIssuingPointRecord- Returns:
- encoded CRL
-
getDeltaCRL
public byte[] getDeltaCRL()Retrieves CRL encodings.- Specified by:
getDeltaCRLin interfaceICRLIssuingPointRecord- Returns:
- encoded delta CRL
-
getCACert
public byte[] getCACert()Description copied from interface:ICRLIssuingPointRecordRetrieves encoded CA certificate.- Specified by:
getCACertin interfaceICRLIssuingPointRecord- Returns:
- encoded CA certificate
-
getCRLCacheNoClone
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCacheNoClone()Description copied from interface:ICRLIssuingPointRecordRetrieves cache information about CRL.- Specified by:
getCRLCacheNoClonein interfaceICRLIssuingPointRecord- Returns:
- list of recently revoked certificates
-
getCRLCache
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCache()- Specified by:
getCRLCachein interfaceICRLIssuingPointRecord
-
getRevokedCerts
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getRevokedCerts()Retrieves cache info of revoked certificates.- Specified by:
getRevokedCertsin interfaceICRLIssuingPointRecord- Returns:
- list of recently revoked certificates
-
getUnrevokedCerts
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getUnrevokedCerts()Retrieves cache info of unrevoked certificates.- Specified by:
getUnrevokedCertsin interfaceICRLIssuingPointRecord- Returns:
- list of certificates recently released from hold
-
getExpiredCerts
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getExpiredCerts()Retrieves cache info of expired certificates.- Specified by:
getExpiredCertsin interfaceICRLIssuingPointRecord- Returns:
- list of recently expired certificates
-