public class ImportCertCommand extends AliasedCertCommand
PARAM_DESCRIPTION, PARAM_NAME, PARAM_USAGE
Constructor and Description |
---|
ImportCertCommand() |
Modifier and Type | Method and 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) |
execute
getDescription, getName, getUsage, init, setDescription, setName, setUsage
destroy, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSession
destroy, getParameters
public String getDefaultDescription()
getDefaultDescription
in class BaseCommand
public String getDefaultName()
getDefaultName
in class BaseCommand
public String getDefaultUsage()
getDefaultUsage
in class BaseCommand
public CommandResult execute(AliasedCertificateFactory certFx, Object[] params) throws OpenAS2Exception
execute
in class AliasedCertCommand
OpenAS2Exception
protected 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
Exception
Copyright © 2018. All rights reserved.