KeyGeneratorFactory
public final class MaxKeyGeneratorFactory extends java.lang.Object implements KeyGeneratorFactory
Constructor | Description |
---|---|
MaxKeyGeneratorFactory() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
java.lang.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?
|
public java.lang.String getAlgorithmName()
getAlgorithmName
in interface KeyGeneratorFactory
public boolean hasMandatoryParameters()
hasMandatoryParameters
in interface KeyGeneratorFactory
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.public KeyGenerator createKeyGenerator()
createKeyGenerator
in interface KeyGeneratorFactory
public KeyGenerator createKeyGenerator(KeyGeneratorDef definition) throws GeneratorException
createKeyGenerator
in interface KeyGeneratorFactory
definition
- The definition to initialize the key generator.GeneratorException
- If failed to create a key generator instance.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com