Search in sources :

Example 1 with P11DSAKeyGenLoadTest

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

the class BSpeedP11DSAKeyGenCmd method nextTester.

@Override
protected LoadExecutor nextTester() throws Exception {
    DSAControl control = queue.poll();
    if (control == null) {
        return null;
    }
    P11Slot slot = getSlot();
    return new P11DSAKeyGenLoadTest(slot, control.plen(), control.qlen());
}
Also used : P11DSAKeyGenLoadTest(org.xipki.security.speed.p11.P11DSAKeyGenLoadTest) DSAControl(org.xipki.security.speed.cmd.DSAControl) P11Slot(org.xipki.security.pkcs11.P11Slot)

Aggregations

P11Slot (org.xipki.security.pkcs11.P11Slot)1 DSAControl (org.xipki.security.speed.cmd.DSAControl)1 P11DSAKeyGenLoadTest (org.xipki.security.speed.p11.P11DSAKeyGenLoadTest)1