Interface CipherVersionGenerator<CV extends CipherVersion>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CV next()
      Generator method to be implemented by subclasses.
      • Methods inherited from interface org.refcodes.generator.Generator

        hasNext
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Method Detail

      • next

        CV next()
        Generator method to be implemented by subclasses. Required to create implementation dependent cipher version objects. Retrieves the next valid cipher which may be used for encrypting data.
        Specified by:
        next in interface org.refcodes.generator.Generator<CV extends CipherVersion>
        Specified by:
        next in interface java.util.Iterator<CV extends CipherVersion>
        Returns:
        The next valid CipherVersion for encryption.