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 java.lang.Stringp12Fileprotected java.lang.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 java.security.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 java.io.IOException, org.xipki.password.PasswordResolverException- Throws:
java.io.IOExceptionorg.xipki.password.PasswordResolverException
-
getInKeyStore
protected java.security.KeyStore getInKeyStore() throws java.io.IOException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.KeyStoreException, org.xipki.password.PasswordResolverException- Throws:
java.io.IOExceptionjava.security.NoSuchAlgorithmExceptionjava.security.cert.CertificateExceptionjava.security.KeyStoreExceptionorg.xipki.password.PasswordResolverException
-
-