private class CachingKeyPairProvider.CancellingKeyPairIterator
extends java.lang.Object
implements java.util.Iterator<java.security.KeyPair>
Modifier and Type | Field and Description |
---|---|
private org.apache.sshd.common.session.SessionContext |
context |
private java.security.KeyPair |
nextItem |
private boolean |
nextSet |
private java.util.Iterator<java.nio.file.Path> |
paths |
Constructor and Description |
---|
CancellingKeyPairIterator(org.apache.sshd.common.session.SessionContext session,
java.util.Collection<? extends java.nio.file.Path> resources) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.security.KeyPair |
next() |
private final org.apache.sshd.common.session.SessionContext context
private final java.util.Iterator<java.nio.file.Path> paths
private java.security.KeyPair nextItem
private boolean nextSet