Class P11Actions.P11SecurityAction

    • Field Detail

      • slotIndex

        protected String slotIndex
      • moduleName

        protected String moduleName
      • p11CryptServiceFactory

        protected org.xipki.security.pkcs11.P11CryptServiceFactory p11CryptServiceFactory
    • Constructor Detail

      • P11SecurityAction

        public P11SecurityAction()
    • 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.XiSecurityException
        org.xipki.pkcs11.wrapper.TokenException
        org.xipki.shell.IllegalCmdParamException
      • getP11Module

        protected org.xipki.security.pkcs11.P11Module getP11Module​(String moduleName)
                                                            throws org.xipki.security.XiSecurityException,
                                                                   org.xipki.pkcs11.wrapper.TokenException,
                                                                   org.xipki.shell.IllegalCmdParamException
        Throws:
        org.xipki.security.XiSecurityException
        org.xipki.pkcs11.wrapper.TokenException
        org.xipki.shell.IllegalCmdParamException
      • getIdentity

        public org.xipki.security.pkcs11.P11Key getIdentity​(String hexId,
                                                            String label)
                                                     throws org.xipki.shell.IllegalCmdParamException,
                                                            org.xipki.security.XiSecurityException,
                                                            org.xipki.pkcs11.wrapper.TokenException
        Throws:
        org.xipki.shell.IllegalCmdParamException
        org.xipki.security.XiSecurityException
        org.xipki.pkcs11.wrapper.TokenException