Class P11SignSpeed

    • Constructor Detail

      • P11SignSpeed

        public P11SignSpeed​(SecurityFactory securityFactory,
                            P11Slot slot,
                            String signatureAlgorithm,
                            boolean deleteKeyAfterTest,
                            org.xipki.pkcs11.wrapper.PKCS11KeyId keyId,
                            String description,
                            int threads)
                     throws org.xipki.util.exception.ObjectCreationException
        Throws:
        org.xipki.util.exception.ObjectCreationException
    • Method Detail

      • close

        public final void close()
        Overrides:
        close in class org.xipki.util.BenchmarkExecutor
      • getNonNullKeyId

        protected static org.xipki.pkcs11.wrapper.PKCS11KeyId getNonNullKeyId​(P11Slot slot,
                                                                              byte[] keyId,
                                                                              String keyLabel)
                                                                       throws org.xipki.pkcs11.wrapper.TokenException
        Throws:
        org.xipki.pkcs11.wrapper.TokenException
      • getTester

        protected Runnable getTester()
                              throws Exception
        Specified by:
        getTester in class org.xipki.util.BenchmarkExecutor
        Throws:
        Exception