public class DfltKeypairGeneratorFactory extends Object implements KeypairGeneratorFactory
KeypairGeneratorFactory for the type software.| Constructor and Description |
|---|
DfltKeypairGeneratorFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateKeypairGenerator(String type)
Indicates whether a signer of the given
type can be created or not. |
Set<String> |
getSupportedKeypairTypes()
Retrieves the types of supported signers.
|
KeypairGenerator |
newKeypairGenerator(String type,
String conf,
SecurityFactory securityFactory)
Creates a new keypair generator.
|
void |
setP11CryptServiceFactory(P11CryptServiceFactory p11CryptServiceFactory) |
void |
setSecurityFactory(SecurityFactory securityFactory) |
public void setP11CryptServiceFactory(P11CryptServiceFactory p11CryptServiceFactory)
public void setSecurityFactory(SecurityFactory securityFactory)
public Set<String> getSupportedKeypairTypes()
KeypairGeneratorFactorygetSupportedKeypairTypes in interface KeypairGeneratorFactorynull.public boolean canCreateKeypairGenerator(String type)
KeypairGeneratorFactorytype can be created or not.canCreateKeypairGenerator in interface KeypairGeneratorFactorytype - Type of the signer. Must not be null.public KeypairGenerator newKeypairGenerator(String type, String conf, SecurityFactory securityFactory) throws org.xipki.util.exception.ObjectCreationException
KeypairGeneratorFactorynewKeypairGenerator in interface KeypairGeneratorFactorytype - Type of the keypair generator. Must not be null.conf - Configuration of the keypair generator. May be null.securityFactory - SecurityFactory.org.xipki.util.exception.ObjectCreationException - if signer could not be created.Copyright © 2022. All rights reserved.