Package org.xipki.scep.client.shell
Class Actions.ClientAction
- java.lang.Object
-
- org.xipki.shell.XiAction
-
- org.xipki.scep.client.shell.Actions.ClientAction
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
Actions.ScepCertpoll,Actions.ScepEnroll,Actions.ScepGetCert,Actions.ScepGetCrl
- Enclosing class:
- Actions
public abstract static class Actions.ClientAction extends org.xipki.shell.XiAction
-
-
Constructor Summary
Constructors Constructor Description ClientAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.xipki.security.X509CertgetIdentityCert()protected java.security.PrivateKeygetIdentityKey()protected org.xipki.scep.client.ScepClientgetScepClient()-
Methods inherited from class org.xipki.shell.XiAction
confirm, derPemEncode, embedFileContent, encodeCert, encodeCrl, encodeCsr, execute, execute0, expandFilepath, expandFilepath, isBlank, isEmpty, isEnabled, isNotBlank, isNotEmpty, isTrue, print, println, readPassword, readPassword, readPasswordIfNotSet, readPasswordIfNotSet, readPrompt, resolvePassword, save, save, saveVerbose, saveVerbose, split, toBigInt, toBigInt
-
-
-
-
Method Detail
-
getScepClient
protected org.xipki.scep.client.ScepClient getScepClient() throws java.security.cert.CertificateException, java.io.IOException- Throws:
java.security.cert.CertificateExceptionjava.io.IOException
-
getIdentityKey
protected java.security.PrivateKey getIdentityKey() throws java.lang.Exception- Throws:
java.lang.Exception
-
getIdentityCert
protected org.xipki.security.X509Cert getIdentityCert() throws java.lang.Exception- Throws:
java.lang.Exception
-
-