Package org.xipki.security.shell
Class P12Actions.P12KeyGenAction
- java.lang.Object
-
- org.xipki.shell.XiAction
-
- org.xipki.security.shell.Actions.SecurityAction
-
- org.xipki.security.shell.P12Actions.P12KeyGenAction
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
P12Actions.DsaP12,P12Actions.EcP12,P12Actions.RsaP12,P12Actions.SecretkeyP12,P12Actions.Sm2P12
- Enclosing class:
- P12Actions
public abstract static class P12Actions.P12KeyGenAction extends Actions.SecurityAction
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringkeyOutFileprotected java.lang.StringpasswordHint-
Fields inherited from class org.xipki.security.shell.Actions.SecurityAction
securityFactory
-
-
Constructor Summary
Constructors Constructor Description P12KeyGenAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.xipki.security.pkcs12.KeystoreGenerationParametersgetKeyGenParameters()protected voidsaveKey(org.xipki.security.pkcs12.KeyStoreWrapper keyGenerationResult)-
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
-
saveKey
protected void saveKey(org.xipki.security.pkcs12.KeyStoreWrapper keyGenerationResult) throws java.io.IOException- Throws:
java.io.IOException
-
getKeyGenParameters
protected org.xipki.security.pkcs12.KeystoreGenerationParameters getKeyGenParameters() throws java.io.IOException, org.xipki.password.PasswordResolverException- Throws:
java.io.IOExceptionorg.xipki.password.PasswordResolverException
-
-