be.cardon.cryptoapi
Class CAPICertificatesIterator

java.lang.Object
  extended by be.cardon.cryptoapi.CAPICertificatesIterator
All Implemented Interfaces:
java.util.Iterator<CAPICertificate>

public class CAPICertificatesIterator
extends java.lang.Object
implements java.util.Iterator<CAPICertificate>

Iterates the certificates from a store.


Constructor Summary
CAPICertificatesIterator(CAPIStore store)
          Creates a new instance of CAPICertificatesIterator.
 
Method Summary
 boolean hasNext()
          Returns TRUE if there is a next certificate.
 CAPICertificate next()
          Returns the next certificate.
 void remove()
          NOT ALLOWED, throws UnsupportedOperationException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAPICertificatesIterator

public CAPICertificatesIterator(CAPIStore store)
Creates a new instance of CAPICertificatesIterator.

Method Detail

hasNext

public boolean hasNext()
Returns TRUE if there is a next certificate.

Specified by:
hasNext in interface java.util.Iterator<CAPICertificate>

next

public CAPICertificate next()
                     throws java.util.NoSuchElementException
Returns the next certificate.

Specified by:
next in interface java.util.Iterator<CAPICertificate>
Throws:
java.util.NoSuchElementException

remove

public void remove()
            throws java.lang.UnsupportedOperationException
NOT ALLOWED, throws UnsupportedOperationException.¨

Specified by:
remove in interface java.util.Iterator<CAPICertificate>
Throws:
java.lang.UnsupportedOperationException