Class CRLIssuingPointRecord

    • Constructor Summary

      Constructors 
      Constructor Description
      CRLIssuingPointRecord()
      Constructs empty CRLIssuingPointRecord.
      CRLIssuingPointRecord​(java.lang.String id, java.math.BigInteger crlNumber, java.lang.Long crlSize, java.util.Date thisUpdate, java.util.Date nextUpdate)
      Constructs a CRLIssuingPointRecord
      CRLIssuingPointRecord​(java.lang.String id, java.math.BigInteger crlNumber, java.lang.Long crlSize, java.util.Date thisUpdate, java.util.Date nextUpdate, java.math.BigInteger deltaCRLNumber, java.lang.Long deltaCRLSize, 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)
      Constructs a CRLIssuingPointRecord
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String name)
      Deletes an attribute value from this AttrSet.
      java.lang.Object get​(java.lang.String name)
      Gets an attribute value.
      byte[] getCACert()
      Retrieves encoded CA certificate.
      byte[] getCRL()
      Retrieves CRL encodings.
      java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCache()  
      java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCacheNoClone()
      Retrieves cache information about CRL.
      java.math.BigInteger getCRLNumber()
      Retrieves CRL number.
      java.lang.Long getCRLSize()
      Retrieves CRL size.
      byte[] getDeltaCRL()
      Retrieves CRL encodings.
      java.math.BigInteger getDeltaCRLNumber()
      Retrieves delta CRL number.
      java.lang.Long getDeltaCRLSize()
      Retrieves CRL size.
      java.util.Enumeration<java.lang.String> getElements()
      Returns an enumeration of the names of the attributes existing within this AttrSet.
      java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getExpiredCerts()
      Retrieves cache info of expired certificates.
      java.lang.String getFirstUnsaved()
      Retrieve unique CRL identifier.
      java.lang.String getId()
      Retrieve unique CRL identifier.
      java.util.Date getNextUpdate()
      Retrieves next update time.
      java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getRevokedCerts()
      Retrieves cache info of revoked certificates.
      java.util.Enumeration<java.lang.String> getSerializableAttrNames()
      Returns a list of serializable attribute names.
      java.util.Date getThisUpdate()
      Retrieves this update time.
      java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getUnrevokedCerts()
      Retrieves cache info of unrevoked certificates.
      void set​(java.lang.String name, java.lang.Object obj)
      Sets an attribute value within this AttrSet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mId

        protected java.lang.String mId
      • mCRLNumber

        protected java.math.BigInteger mCRLNumber
      • mCRLSize

        protected java.lang.Long mCRLSize
      • mThisUpdate

        protected java.util.Date mThisUpdate
      • mNextUpdate

        protected java.util.Date mNextUpdate
      • mDeltaCRLNumber

        protected java.math.BigInteger mDeltaCRLNumber
      • mDeltaCRLSize

        protected java.lang.Long mDeltaCRLSize
      • mFirstUnsaved

        protected java.lang.String mFirstUnsaved
      • mCRL

        protected byte[] mCRL
      • mCACert

        protected byte[] mCACert
      • mCRLCache

        protected java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> mCRLCache
      • mRevokedCerts

        protected java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> mRevokedCerts
      • mUnrevokedCerts

        protected java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> mUnrevokedCerts
      • mExpiredCerts

        protected java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> mExpiredCerts
      • mDeltaCRL

        protected byte[] mDeltaCRL
      • mNames

        protected static java.util.Vector<java.lang.String> mNames
    • Constructor Detail

      • CRLIssuingPointRecord

        public CRLIssuingPointRecord()
        Constructs empty CRLIssuingPointRecord. This is required in database framework.
      • CRLIssuingPointRecord

        public CRLIssuingPointRecord​(java.lang.String id,
                                     java.math.BigInteger crlNumber,
                                     java.lang.Long crlSize,
                                     java.util.Date thisUpdate,
                                     java.util.Date nextUpdate)
        Constructs a CRLIssuingPointRecord
      • CRLIssuingPointRecord

        public CRLIssuingPointRecord​(java.lang.String id,
                                     java.math.BigInteger crlNumber,
                                     java.lang.Long crlSize,
                                     java.util.Date thisUpdate,
                                     java.util.Date nextUpdate,
                                     java.math.BigInteger deltaCRLNumber,
                                     java.lang.Long deltaCRLSize,
                                     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)
        Constructs a CRLIssuingPointRecord
    • Method Detail

      • set

        public void set​(java.lang.String name,
                        java.lang.Object obj)
                 throws EBaseException
        Description copied from interface: IAttrSet
        Sets an attribute value within this AttrSet.
        Specified by:
        set in interface IAttrSet
        Parameters:
        name - the name of the attribute
        obj - the attribute object.
        Throws:
        EBaseException - on attribute handling errors.
      • get

        public java.lang.Object get​(java.lang.String name)
                             throws EBaseException
        Description copied from interface: IAttrSet
        Gets an attribute value.
        Specified by:
        get in interface IAttrSet
        Parameters:
        name - the name of the attribute to return.
        Throws:
        EBaseException - on attribute handling errors.
      • delete

        public void delete​(java.lang.String name)
                    throws EBaseException
        Description copied from interface: IAttrSet
        Deletes an attribute value from this AttrSet.
        Specified by:
        delete in interface IAttrSet
        Parameters:
        name - the name of the attribute to delete.
        Throws:
        EBaseException - on attribute handling errors.
      • getElements

        public java.util.Enumeration<java.lang.String> getElements()
        Description copied from interface: IAttrSet
        Returns an enumeration of the names of the attributes existing within this AttrSet.
        Specified by:
        getElements in interface IAttrSet
        Returns:
        an enumeration of the attribute names.
      • getSerializableAttrNames

        public java.util.Enumeration<java.lang.String> getSerializableAttrNames()
        Description copied from interface: IDBObj
        Returns 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:
        getSerializableAttrNames in interface IDBObj
        Returns:
        a list of serializable attribute names
      • getId

        public java.lang.String getId()
        Retrieve unique CRL identifier.
        Specified by:
        getId in interface ICRLIssuingPointRecord
        Returns:
        unique CRL identifier
      • getCRLNumber

        public java.math.BigInteger getCRLNumber()
        Retrieves CRL number.
        Specified by:
        getCRLNumber in interface ICRLIssuingPointRecord
        Returns:
        current CRL number
      • getThisUpdate

        public java.util.Date getThisUpdate()
        Retrieves this update time.
        Specified by:
        getThisUpdate in interface ICRLIssuingPointRecord
        Returns:
        time of this update
      • getNextUpdate

        public java.util.Date getNextUpdate()
        Retrieves next update time.
        Specified by:
        getNextUpdate in interface ICRLIssuingPointRecord
        Returns:
        time of next update
      • getDeltaCRLNumber

        public java.math.BigInteger getDeltaCRLNumber()
        Retrieves delta CRL number.
        Specified by:
        getDeltaCRLNumber in interface ICRLIssuingPointRecord
        Returns:
        current delta CRL number
      • getFirstUnsaved

        public java.lang.String getFirstUnsaved()
        Retrieve unique CRL identifier.
        Specified by:
        getFirstUnsaved in interface ICRLIssuingPointRecord
        Returns:
        reference to the first unsaved data
      • getCRLCacheNoClone

        public java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCacheNoClone()
        Description copied from interface: ICRLIssuingPointRecord
        Retrieves cache information about CRL.
        Specified by:
        getCRLCacheNoClone in interface ICRLIssuingPointRecord
        Returns:
        list of recently revoked certificates
      • getCRLCache

        public java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCache()
        Specified by:
        getCRLCache in interface ICRLIssuingPointRecord
      • getRevokedCerts

        public java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getRevokedCerts()
        Retrieves cache info of revoked certificates.
        Specified by:
        getRevokedCerts in interface ICRLIssuingPointRecord
        Returns:
        list of recently revoked certificates
      • getUnrevokedCerts

        public java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getUnrevokedCerts()
        Retrieves cache info of unrevoked certificates.
        Specified by:
        getUnrevokedCerts in interface ICRLIssuingPointRecord
        Returns:
        list of certificates recently released from hold
      • getExpiredCerts

        public java.util.Hashtable<java.math.BigInteger,​org.mozilla.jss.netscape.security.x509.RevokedCertificate> getExpiredCerts()
        Retrieves cache info of expired certificates.
        Specified by:
        getExpiredCerts in interface ICRLIssuingPointRecord
        Returns:
        list of recently expired certificates