Class CachingKeyPairProvider.CancellingKeyPairIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.security.KeyPair>
    Enclosing class:
    CachingKeyPairProvider

    private class CachingKeyPairProvider.CancellingKeyPairIterator
    extends java.lang.Object
    implements java.util.Iterator<java.security.KeyPair>
    • Field Summary

      Fields 
      Modifier and Type Field 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 Summary

      Constructors 
      Constructor Description
      CancellingKeyPairIterator​(org.apache.sshd.common.session.SessionContext session, java.util.Collection<? extends java.nio.file.Path> resources)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.security.KeyPair next()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Field Detail

      • context

        private final org.apache.sshd.common.session.SessionContext context
      • paths

        private final java.util.Iterator<java.nio.file.Path> paths
      • nextItem

        private java.security.KeyPair nextItem
      • nextSet

        private boolean nextSet
    • Constructor Detail

      • CancellingKeyPairIterator

        public CancellingKeyPairIterator​(org.apache.sshd.common.session.SessionContext session,
                                         java.util.Collection<? extends java.nio.file.Path> resources)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.security.KeyPair>
      • next

        public java.security.KeyPair next()
        Specified by:
        next in interface java.util.Iterator<java.security.KeyPair>