Package org.xipki.security.shell
Class QaSecurityActions.BSpeedP11ActionQa
- java.lang.Object
-
- org.xipki.shell.XiAction
-
- org.xipki.security.shell.QaSecurityActions.QaSecurityAction
-
- org.xipki.security.shell.QaSecurityActions.BatchSpeedActionQa
-
- org.xipki.security.shell.QaSecurityActions.BSpeedP11ActionQa
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
QaSecurityActions.BspeedDsaGenP11,QaSecurityActions.BspeedDsaSignP11,QaSecurityActions.BspeedEcGenP11,QaSecurityActions.BspeedEcSignP11,QaSecurityActions.BspeedRsaGenP11,QaSecurityActions.BspeedRsaSignP11
- Enclosing class:
- QaSecurityActions
public abstract static class QaSecurityActions.BSpeedP11ActionQa extends QaSecurityActions.BatchSpeedActionQa
-
-
Field Summary
Fields Modifier and Type Field Description protected StringmoduleNameprotected org.xipki.security.pkcs11.P11CryptServiceFactoryp11CryptServiceFactoryprotected intslotIndex-
Fields inherited from class org.xipki.security.shell.QaSecurityActions.QaSecurityAction
securityFactory
-
-
Constructor Summary
Constructors Constructor Description BSpeedP11ActionQa()
-
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.BatchSpeedActionQa
execute0, getNumThreads, nextTester
-
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
-
-
-
-
Field Detail
-
p11CryptServiceFactory
protected org.xipki.security.pkcs11.P11CryptServiceFactory p11CryptServiceFactory
-
slotIndex
protected int slotIndex
-
moduleName
protected String moduleName
-
-
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()
-
-