CV - The type of the CipherVersion to be generated.public interface CipherVersionGenerator<CV extends CipherVersion>
extends org.refcodes.generator.Generator<CV>
Generator generating CipherVersion instances can be replaced
with a custom CipherVersionGenerator using its own approach
generating ciphers and cipher UIDs (CipherVersion instances).
In case you provide your custom CipherVersionGenerator
implementation, make sure the CipherVersion (sub-)type you return
fits with the CipherVersion (sub-)type of your custom
CipherVersionFactory. A good approach is to make your custom
CipherVersionGenerator make use your custom
CipherVersionFactory.
See the default implementations CipherVersionGeneratorImpl, the
AbstractCipherVersionGenerator and the
CipherVersionFactoryImpl.
| Modifier and Type | Method and Description |
|---|---|
CV |
next()
Generator method to be implemented by subclasses.
|
forEachRemaining, removeCV next()
next in interface org.refcodes.generator.Generator<CV extends CipherVersion>next in interface Iterator<CV extends CipherVersion>CipherVersion for encryption.Copyright © 2018. All rights reserved.