public abstract class P11SignSpeed
extends org.xipki.util.BenchmarkExecutor
| Modifier and Type | Class and Description |
|---|---|
static class |
P11SignSpeed.DSA |
static class |
P11SignSpeed.EC |
static class |
P11SignSpeed.HMAC |
static class |
P11SignSpeed.RSA |
static class |
P11SignSpeed.SM2 |
| Constructor and Description |
|---|
P11SignSpeed(SecurityFactory securityFactory,
P11Slot slot,
String signatureAlgorithm,
boolean deleteKeyAfterTest,
P11IdentityId identityId,
String description,
int threads) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected static P11Slot.P11NewKeyControl |
getNewKeyControl(byte[] id,
String label) |
protected static P11IdentityId |
getNonNullKeyId(P11Slot slot,
byte[] keyId,
String keyLabel) |
protected Runnable |
getTester() |
public P11SignSpeed(SecurityFactory securityFactory, P11Slot slot, String signatureAlgorithm, boolean deleteKeyAfterTest, P11IdentityId identityId, String description, int threads) throws org.xipki.util.exception.ObjectCreationException
org.xipki.util.exception.ObjectCreationExceptionpublic final void close()
close in class org.xipki.util.BenchmarkExecutorprotected static P11Slot.P11NewKeyControl getNewKeyControl(byte[] id, String label)
protected static P11IdentityId getNonNullKeyId(P11Slot slot, byte[] keyId, String keyLabel) throws org.xipki.pkcs11.wrapper.TokenException
org.xipki.pkcs11.wrapper.TokenExceptionCopyright © 2023. All rights reserved.