public class UserAuthPublicKeyIterator extends AbstractKeyPairIterator<PublicKeyIdentity> implements Channel
Constructor and Description |
---|
UserAuthPublicKeyIterator(ClientSession session,
SignatureFactoriesManager signatureFactories) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
closeAgent() |
boolean |
hasNext() |
protected Iterable<KeyAgentIdentity> |
initializeAgentIdentities(ClientSession session) |
protected Iterable<KeyPairIdentity> |
initializeSessionIdentities(ClientSession session,
SignatureFactoriesManager signatureFactories) |
boolean |
isOpen() |
PublicKeyIdentity |
next() |
getClientSession, getSession, remove, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
public UserAuthPublicKeyIterator(ClientSession session, SignatureFactoriesManager signatureFactories) throws Exception
Exception
protected Iterable<KeyPairIdentity> initializeSessionIdentities(ClientSession session, SignatureFactoriesManager signatureFactories)
protected Iterable<KeyAgentIdentity> initializeAgentIdentities(ClientSession session) throws IOException
IOException
public boolean hasNext()
hasNext
in interface Iterator<PublicKeyIdentity>
public PublicKeyIdentity next()
next
in interface Iterator<PublicKeyIdentity>
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
protected void closeAgent() throws IOException
IOException
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.