public abstract class P12SignSpeed
extends org.xipki.util.BenchmarkExecutor
| Modifier and Type | Class and Description |
|---|---|
static class |
P12SignSpeed.AESGmac |
static class |
P12SignSpeed.DSA |
static class |
P12SignSpeed.EC |
static class |
P12SignSpeed.HMAC |
static class |
P12SignSpeed.RSA |
static class |
P12SignSpeed.SM2 |
| Constructor and Description |
|---|
P12SignSpeed(org.xipki.security.SecurityFactory securityFactory,
String signatureAlgorithm,
byte[] keystore,
String description,
int threads) |
P12SignSpeed(String tokenType,
org.xipki.security.SecurityFactory securityFactory,
String signatureAlgorithm,
byte[] keystore,
String description,
int threads) |
| Modifier and Type | Method and Description |
|---|---|
protected static byte[] |
getPrecomputedDSAKeystore(int plength,
int qlength) |
protected static byte[] |
getPrecomputedECKeystore(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid) |
protected static byte[] |
getPrecomputedRSAKeystore(int keysize,
BigInteger publicExponent) |
protected Runnable |
getTestor() |
protected static final String PASSWORD
public P12SignSpeed(org.xipki.security.SecurityFactory securityFactory,
String signatureAlgorithm,
byte[] keystore,
String description,
int threads)
throws Exception
Exceptionprotected Runnable getTestor() throws Exception
getTestor in class org.xipki.util.BenchmarkExecutorExceptionprotected static byte[] getPrecomputedRSAKeystore(int keysize,
BigInteger publicExponent)
throws IOException
IOExceptionprotected static byte[] getPrecomputedDSAKeystore(int plength,
int qlength)
throws IOException
IOExceptionprotected static byte[] getPrecomputedECKeystore(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.