protected class AbstractResourceKeyPairProvider.KeyPairIterator
extends java.lang.Object
implements java.util.Iterator<java.security.KeyPair>
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<java.security.KeyPair> |
currentIdentities |
private java.util.Iterator<? extends R> |
iterator |
private java.security.KeyPair |
nextKeyPair |
private boolean |
nextKeyPairSet |
protected SessionContext |
session |
Modifier | Constructor and Description |
---|---|
protected |
KeyPairIterator(SessionContext session,
java.util.Collection<? extends R> resources) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.security.KeyPair |
next() |
void |
remove() |
private boolean |
setNextObject() |
protected final SessionContext session
private final java.util.Iterator<? extends R> iterator
private java.util.Iterator<java.security.KeyPair> currentIdentities
private java.security.KeyPair nextKeyPair
private boolean nextKeyPairSet
protected KeyPairIterator(SessionContext session, java.util.Collection<? extends R> resources)
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.security.KeyPair>
public java.security.KeyPair next()
next
in interface java.util.Iterator<java.security.KeyPair>
public void remove()
remove
in interface java.util.Iterator<java.security.KeyPair>
private boolean setNextObject()