public class ImportCertCommand extends AliasedCertCommand
PARAM_DESCRIPTION, PARAM_NAME, PARAM_USAGE| Constructor | Description |
|---|---|
ImportCertCommand() |
| Modifier and Type | Method | Description |
|---|---|---|
CommandResult |
execute(AliasedCertificateFactory certFx,
Object[] params) |
|
String |
getDefaultDescription() |
|
String |
getDefaultName() |
|
String |
getDefaultUsage() |
|
protected CommandResult |
importCert(AliasedCertificateFactory certFx,
String alias,
String filename) |
|
protected CommandResult |
importPrivateKey(AliasedCertificateFactory certFx,
String alias,
String filename,
String password) |
executegetDescription, getName, getUsage, init, setDescription, setName, setUsagedestroy, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParametergetSessiondestroy, getParameterspublic String getDefaultDescription()
getDefaultDescription in class BaseCommandpublic String getDefaultName()
getDefaultName in class BaseCommandpublic String getDefaultUsage()
getDefaultUsage in class BaseCommandpublic CommandResult execute(AliasedCertificateFactory certFx, Object[] params) throws OpenAS2Exception
execute in class AliasedCertCommandOpenAS2Exceptionprotected CommandResult importCert(AliasedCertificateFactory certFx, String alias, String filename) throws IOException, CertificateException, OpenAS2Exception
protected CommandResult importPrivateKey(AliasedCertificateFactory certFx, String alias, String filename, String password) throws Exception
ExceptionCopyright © 2018. All rights reserved.