Package org.xipki.security.shell
Class QaSecurityActions.SpeedP11ActionQa
- java.lang.Object
-
- org.xipki.shell.XiAction
-
- org.xipki.security.shell.QaSecurityActions.QaSecurityAction
-
- org.xipki.security.shell.QaSecurityActions.SingleSpeedActionQa
-
- org.xipki.security.shell.QaSecurityActions.SpeedP11ActionQa
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
QaSecurityActions.SpeedDsaGenP11,QaSecurityActions.SpeedEcGenP11,QaSecurityActions.SpeedEdGenP11,QaSecurityActions.SpeedP11SignActionQa,QaSecurityActions.SpeedRsaGenP11,QaSecurityActions.SpeedSm2GenP11
- Enclosing class:
- QaSecurityActions
public abstract static class QaSecurityActions.SpeedP11ActionQa extends QaSecurityActions.SingleSpeedActionQa
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringmoduleNameprotected org.xipki.security.pkcs11.P11CryptServiceFactoryp11CryptServiceFactoryprotected intslotIndex-
Fields inherited from class org.xipki.security.shell.QaSecurityActions.QaSecurityAction
securityFactory
-
-
Constructor Summary
Constructors Constructor Description SpeedP11ActionQa()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]getKeyId()protected org.xipki.security.pkcs11.P11SlotgetSlot()-
Methods inherited from class org.xipki.security.shell.QaSecurityActions.SingleSpeedActionQa
execute0, getNumThreads, getTester
-
Methods inherited from class org.xipki.shell.XiAction
confirm, derPemEncode, embedFileContent, encodeCert, encodeCrl, encodeCsr, execute, 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
-
getSlot
protected org.xipki.security.pkcs11.P11Slot getSlot() throws org.xipki.security.XiSecurityException, org.xipki.pkcs11.wrapper.TokenException, org.xipki.shell.IllegalCmdParamException- Throws:
org.xipki.security.XiSecurityExceptionorg.xipki.pkcs11.wrapper.TokenExceptionorg.xipki.shell.IllegalCmdParamException
-
getKeyId
protected byte[] getKeyId()
-
-