Search in sources :

Example 1 with P11RSASignLoadTest

use of org.xipki.security.speed.p11.P11RSASignLoadTest in project xipki by xipki.

the class BSpeedP11RSASignCmd method nextTester.

@Override
protected LoadExecutor nextTester() throws Exception {
    RSAControl control = queue.poll();
    if (control == null) {
        return null;
    }
    P11Slot slot = getSlot();
    return new P11RSASignLoadTest(securityFactory, slot, sigAlgo, control.modulusLen(), toBigInt("0x10001"));
}
Also used : P11RSASignLoadTest(org.xipki.security.speed.p11.P11RSASignLoadTest) P11Slot(org.xipki.security.pkcs11.P11Slot) RSAControl(org.xipki.security.speed.cmd.RSAControl)

Aggregations

P11Slot (org.xipki.security.pkcs11.P11Slot)1 RSAControl (org.xipki.security.speed.cmd.RSAControl)1 P11RSASignLoadTest (org.xipki.security.speed.p11.P11RSASignLoadTest)1