public class SignerFactoryRegisterImpl extends Object implements SignerFactoryRegister
SignerFactoryRegister.| Constructor and Description |
|---|
SignerFactoryRegisterImpl() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getSupportedSignerTypes()
Retrieves the types of supported signers.
|
ConcurrentContentSigner |
newSigner(SecurityFactory securityFactory,
String type,
SignerConf conf,
X509Cert[] certificateChain)
Creates a new
ConcurrentContentSigner. |
void |
refreshTokenForSignerType(String signerType) |
void |
registFactory(SignerFactory factory) |
void |
unregistFactory(SignerFactory factory) |
public Set<String> getSupportedSignerTypes()
SignerFactoryRegistergetSupportedSignerTypes in interface SignerFactoryRegisternull.public void registFactory(SignerFactory factory)
public void unregistFactory(SignerFactory factory)
public ConcurrentContentSigner newSigner(SecurityFactory securityFactory, String type, SignerConf conf, X509Cert[] certificateChain) throws org.xipki.util.ObjectCreationException
SignerFactoryRegisterConcurrentContentSigner.newSigner in interface SignerFactoryRegistersecurityFactory - Security factory. Must not be null.type - Type of the signer. Must not be null.conf - Configuration. Must not be null.certificateChain - Certificate chain. Could be null-org.xipki.util.ObjectCreationException - If signer could not be created.public void refreshTokenForSignerType(String signerType) throws XiSecurityException
refreshTokenForSignerType in interface SignerFactoryRegisterXiSecurityExceptionCopyright © 2020. All rights reserved.