Search in sources :

Example 1 with P11ECSignLoadTest

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

the class BSpeedP11ECSignCmd method nextTester.

@Override
protected LoadExecutor nextTester() throws Exception {
    ECControl control = queue.poll();
    if (control == null) {
        return null;
    }
    P11Slot slot = getSlot();
    return new P11ECSignLoadTest(securityFactory, slot, sigAlgo, control.curveName());
}
Also used : P11Slot(org.xipki.security.pkcs11.P11Slot) P11ECSignLoadTest(org.xipki.security.speed.p11.P11ECSignLoadTest) ECControl(org.xipki.security.speed.cmd.ECControl)

Aggregations

P11Slot (org.xipki.security.pkcs11.P11Slot)1 ECControl (org.xipki.security.speed.cmd.ECControl)1 P11ECSignLoadTest (org.xipki.security.speed.p11.P11ECSignLoadTest)1