Package org.xipki.security
Interface KeypairGeneratorFactoryRegister
-
- All Known Implementing Classes:
KeypairGeneratorFactoryRegisterImpl
public interface KeypairGeneratorFactoryRegisterInterface to registerKeypairGeneratorFactoryand to create newKeypairGenerator.- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>getSupportedGeneratorTypes()Retrieves the types of supported keypair generators.KeypairGeneratornewKeypairGenerator(SecurityFactory securityFactory, String type, String conf)Creates a newKeypairGenerator.
-
-
-
Method Detail
-
getSupportedGeneratorTypes
Set<String> getSupportedGeneratorTypes()
Retrieves the types of supported keypair generators.- Returns:
- lower-case types of supported generators, never
null.
-
newKeypairGenerator
KeypairGenerator newKeypairGenerator(SecurityFactory securityFactory, String type, String conf) throws org.xipki.util.exception.ObjectCreationException
Creates a newKeypairGenerator.- Parameters:
securityFactory- Security factory. Must not benull.type- Type of the keypair generator. Must not benull.conf- Configuration. Must not benull.- Returns:
- new keypair generator.
- Throws:
org.xipki.util.exception.ObjectCreationException- If generator could not be created.
-
-