|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KeyGeneratorFactory
Interface to be implemented by all key generator factories.
| Method Summary | |
|---|---|
KeyGenerator |
createKeyGenerator()
Create a default key generator instance with the algorithm the factory is responsible for. |
KeyGenerator |
createKeyGenerator(KeyGeneratorDef definition)
Create a key generator instance from the given definition with the algorithm the factory is responsible for. |
String |
getAlgorithmName()
Get name of key generator algorithm. |
boolean |
hasMandatoryParameters()
Does the algorithm has mandatory parameters and therefore requires a key generator definition in mapping file? |
| Method Detail |
|---|
String getAlgorithmName()
boolean hasMandatoryParameters()
true if algorithm has mandatory parameters and therefore
requires a key generator definition in mapping file. false
if algorithm does not require parameters or has only optional parameters.
KeyGenerator createKeyGenerator()
throws GeneratorException
GeneratorException - If creation of default key generator is not possible
due to required mandatory parameters.
KeyGenerator createKeyGenerator(KeyGeneratorDef definition)
throws GeneratorException
definition - The definition to initialize the key generator.
GeneratorException - If failed to create a key generator instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||