public class KeypairGeneratorFactoryRegisterImpl extends Object implements KeypairGeneratorFactoryRegister
KeypairGeneratorFactoryRegister.| Constructor and Description |
|---|
KeypairGeneratorFactoryRegisterImpl() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getSupportedGeneratorTypes()
Retrieves the types of supported keypair generators.
|
KeypairGenerator |
newKeypairGenerator(SecurityFactory securityFactory,
String type,
String conf)
Creates a new
KeypairGenerator. |
void |
registFactory(KeypairGeneratorFactory factory) |
void |
unregistFactory(KeypairGeneratorFactory factory) |
public Set<String> getSupportedGeneratorTypes()
KeypairGeneratorFactoryRegistergetSupportedGeneratorTypes in interface KeypairGeneratorFactoryRegisternull.public void registFactory(KeypairGeneratorFactory factory)
public void unregistFactory(KeypairGeneratorFactory factory)
public KeypairGenerator newKeypairGenerator(SecurityFactory securityFactory, String type, String conf) throws org.xipki.util.exception.ObjectCreationException
KeypairGeneratorFactoryRegisterKeypairGenerator.newKeypairGenerator in interface KeypairGeneratorFactoryRegistersecurityFactory - Security factory. Must not be null.type - Type of the keypair generator. Must not be null.conf - Configuration. Must not be null.org.xipki.util.exception.ObjectCreationException - If generator could not be created.Copyright © 2023. All rights reserved.