org.opensaml.xml.encryption
Class ChainingEncryptedKeyResolver.ChainingIterator

java.lang.Object
  extended by org.opensaml.xml.encryption.ChainingEncryptedKeyResolver.ChainingIterator
All Implemented Interfaces:
java.util.Iterator<EncryptedKey>
Enclosing class:
ChainingEncryptedKeyResolver

public class ChainingEncryptedKeyResolver.ChainingIterator
extends java.lang.Object
implements java.util.Iterator<EncryptedKey>

Implementation of Iterator to be (indirectly) returned by ChainingEncryptedKeyResolver.


Constructor Summary
ChainingEncryptedKeyResolver.ChainingIterator(ChainingEncryptedKeyResolver resolver, EncryptedData encData)
          Constructor.
 
Method Summary
 boolean hasNext()
          
 EncryptedKey next()
          
 void remove()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainingEncryptedKeyResolver.ChainingIterator

public ChainingEncryptedKeyResolver.ChainingIterator(ChainingEncryptedKeyResolver resolver,
                                                     EncryptedData encData)
Constructor.

Parameters:
resolver - the ChainingEncryptedKeyResolver parent
encData - the EncryptedData context for resolution
Method Detail

hasNext

public boolean hasNext()

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

next

public EncryptedKey next()

Specified by:
next in interface java.util.Iterator<EncryptedKey>

remove

public void remove()

Specified by:
remove in interface java.util.Iterator<EncryptedKey>


Copyright © 2006-2012 Internet2. All Rights Reserved.