- /*
- * Now we need to create an iterator, just as for the work units,
- * to create new keys from the encrypted message. The iterator will
- * not iterate over an object nor a collection. It will instead
- * encapsulate the "key production" into a class and not in a simple
- * for() loop. These keys then needs to be bundled into test units
- * and stored to database for later re-usage.
- */
-
- // First get an iterator, again the helper will do that for us
- $iteratorInstance = $this->getHelperInstance()->getKeyIterator();
-
- // Begin the "key production"
- while ($iteratorInstance->valid()) {
- // Get current key (which is not the key of the iterator)
- $currentKey = $iteratorInstance->current();
-
- // @TODO Do something with it
- $this->debugOutput('currentKey=' . $currentKey . ' needs to be processed.');
-
- // Continue with next one
- $iteratorInstance->next();
- } // END - while
-
- die(__METHOD__ . ": Ended the key production.\n");