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) |
executegetDescription, getName, getUsage, init, setDescription, setName, setUsagedestroy, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSessiondestroy, 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 © 2019. All rights reserved.