Search in sources :

Example 1 with P11RSAKeyGenLoadTest

use of org.xipki.security.speed.p11.P11RSAKeyGenLoadTest 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"));
}
Also used : P11Slot(org.xipki.security.pkcs11.P11Slot) P11RSAKeyGenLoadTest(org.xipki.security.speed.p11.P11RSAKeyGenLoadTest) RSAControl(org.xipki.security.speed.cmd.RSAControl)

Aggregations

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