|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.security.japi.pki.NPKI_crlList
Helper class that contains a list of CRLs for other NPKI Java classes to consume.
Constructor Summary | |
NPKI_crlList()
Constructor Initializes the list of CRLs. |
Method Summary | |
void |
addCrl(com.novell.security.japi.pki.NPKI_crl crl)
Adds a specified CRL to the CRL List. |
com.novell.security.japi.pki.NPKI_crl |
getCrl(int crlNum)
Retrieves a CRL from the list at the specified index. |
int |
getNumberOfCrls()
Accessor function to get the number of CRLs in the list. |
boolean |
removeCrl(com.novell.security.japi.pki.NPKI_crl crl)
Removes a CRL from the list that matches the specified CRL |
void |
removeCrlAt(int crlNum)
Removes a CRL from the list at the specified index. |
int |
size()
Accessor function to get the number of CRLs in the list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NPKI_crlList() throws java.io.IOException
java.io.IOException
- if an I/O error occurs.Method Detail |
public void addCrl(com.novell.security.japi.pki.NPKI_crl crl)
crl
- A CRL object with a CRL to add to the list.public com.novell.security.japi.pki.NPKI_crl getCrl(int crlNum) throws java.lang.ArrayIndexOutOfBoundsException
crlNum
- index of the CRL to retrieve
java.lang.ArrayIndexOutOfBoundsException
- if the index was invalid.public boolean removeCrl(com.novell.security.japi.pki.NPKI_crl crl)
crl
- The CRL to be removed from the list.
public void removeCrlAt(int crlNum) throws java.lang.ArrayIndexOutOfBoundsException
crlNum
- Index of the CRL to be deleted
java.lang.ArrayIndexOutOfBoundsException
- if the index was invalidpublic int getNumberOfCrls()
public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |