use of org.xipki.security.speed.cmd.RSAControl 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"));
}
use of org.xipki.security.speed.cmd.RSAControl in project xipki by xipki.
the class BSpeedP11RSAKeyGenCmd method nextTester.
@Override
protected LoadExecutor nextTester() throws Exception {
RSAControl control = queue.poll();
if (control == null) {
return null;
}
P11Slot slot = getSlot();
return new P11RSAKeyGenLoadTest(slot, control.modulusLen(), toBigInt("0x10001"));
}
Aggregations