Package org.xipki.security.shell
Class P12Actions.P12SecurityAction
- java.lang.Object
-
- org.xipki.shell.XiAction
-
- org.xipki.security.shell.Actions.SecurityAction
-
- org.xipki.security.shell.P12Actions.P12SecurityAction
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
P12Actions.ExportCertP12,P12Actions.Pkcs12,P12Actions.UpdateCertP12
- Enclosing class:
- P12Actions
public abstract static class P12Actions.P12SecurityAction extends Actions.SecurityAction
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringp12Fileprotected StringpasswordHint-
Fields inherited from class org.xipki.security.shell.Actions.SecurityAction
securityFactory
-
-
Constructor Summary
Constructors Constructor Description P12SecurityAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyStoregetInKeyStore()protected char[]getPassword()-
Methods inherited from class org.xipki.security.shell.Actions.SecurityAction
toUtcTimeyyyyMMddhhmmssZ
-
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
-
getPassword
protected char[] getPassword() throws IOException, org.xipki.password.PasswordResolverException- Throws:
IOExceptionorg.xipki.password.PasswordResolverException
-
getInKeyStore
protected KeyStore getInKeyStore() throws IOException, NoSuchAlgorithmException, CertificateException, KeyStoreException, org.xipki.password.PasswordResolverException
- Throws:
IOExceptionNoSuchAlgorithmExceptionCertificateExceptionKeyStoreExceptionorg.xipki.password.PasswordResolverException
-
-