Package org.xipki.security
Interface SignerFactoryRegister
-
- All Known Implementing Classes:
SignerFactoryRegisterImpl
public interface SignerFactoryRegisterInterface to registerSignerFactoryand to create newConcurrentContentSigner.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>getSupportedSignerTypes()Retrieves the types of supported signers.ConcurrentContentSignernewSigner(SecurityFactory securityFactory, String type, SignerConf conf, X509Cert[] certificateChain)Creates a newConcurrentContentSigner.
-
-
-
Method Detail
-
getSupportedSignerTypes
Set<String> getSupportedSignerTypes()
Retrieves the types of supported signers.- Returns:
- lower-case types of supported signers, never
null.
-
newSigner
ConcurrentContentSigner newSigner(SecurityFactory securityFactory, String type, SignerConf conf, X509Cert[] certificateChain) throws org.xipki.util.exception.ObjectCreationException
Creates a newConcurrentContentSigner.- Parameters:
securityFactory- Security factory. Must not benull.type- Type of the signer. Must not benull.conf- Configuration. Must not benull.certificateChain- Certificate chain. Could benull-- Returns:
- new signer.
- Throws:
org.xipki.util.exception.ObjectCreationException- If signer could not be created.
-
-