Class AbstractResourceKeyPairProvider.KeyPairIterator

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

    protected class AbstractResourceKeyPairProvider.KeyPairIterator
    extends java.lang.Object
    implements java.util.Iterator<java.security.KeyPair>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KeyPairIterator​(SessionContext session, java.util.Collection<? extends R> resources)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.security.KeyPair next()  
      void remove()  
      private boolean setNextObject()  
      • 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
    • Field Detail

      • iterator

        private final java.util.Iterator<? extends R> iterator
      • currentIdentities

        private java.util.Iterator<java.security.KeyPair> currentIdentities
      • nextKeyPair

        private java.security.KeyPair nextKeyPair
      • nextKeyPairSet

        private boolean nextKeyPairSet
    • Constructor Detail

      • KeyPairIterator

        protected KeyPairIterator​(SessionContext session,
                                  java.util.Collection<? extends R> 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>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<java.security.KeyPair>
      • setNextObject

        private boolean setNextObject()