public interface SignerFactory
ConcurrentContentSigner.| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateSigner(String type)
Indicates whether a signer of the given
type can be created or not. |
Set<String> |
getSupportedSignerTypes()
Retrieves the types of supported signers.
|
ConcurrentContentSigner |
newSigner(String type,
SignerConf conf,
X509Cert[] certificateChain)
Creates a new signer.
|
void |
refreshToken(String type) |
Set<String> getSupportedSignerTypes()
null.boolean canCreateSigner(String type)
type can be created or not.type - Type of the signer. Must no be null.ConcurrentContentSigner newSigner(String type, SignerConf conf, X509Cert[] certificateChain) throws org.xipki.util.ObjectCreationException
type - Type of the signer. Must not be null.conf - Configuration of the signer. Must not be null.certificateChain - Certificate chain of the signer. Could be null.org.xipki.util.ObjectCreationException - if signer could not be created.void refreshToken(String type) throws XiSecurityException
XiSecurityExceptionCopyright © 2020. All rights reserved.