| Package | Description |
|---|---|
| org.xipki.security.pkcs11 | |
| org.xipki.security.qa |
| Modifier and Type | Field and Description |
|---|---|
protected P11IdentityId |
P11Identity.id |
| Modifier and Type | Method and Description |
|---|---|
protected abstract P11IdentityId |
P11Slot.doGenerateDSAKeypair(BigInteger p,
BigInteger q,
BigInteger g,
P11Slot.P11NewKeyControl control)
Generates a DSA keypair on-the-fly.
|
protected abstract P11IdentityId |
P11Slot.doGenerateECEdwardsKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveId,
P11Slot.P11NewKeyControl control)
Generates an EC Edwards keypair.
|
protected abstract P11IdentityId |
P11Slot.doGenerateECKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveId,
P11Slot.P11NewKeyControl control)
Generates an EC keypair.
|
protected abstract P11IdentityId |
P11Slot.doGenerateECMontgomeryKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveId,
P11Slot.P11NewKeyControl control)
Generates an EC Montgomery keypair.
|
protected abstract P11IdentityId |
P11Slot.doGenerateRSAKeypair(int keysize,
BigInteger publicExponent,
P11Slot.P11NewKeyControl control)
Generates an RSA keypair.
|
protected abstract P11IdentityId |
P11Slot.doGenerateSecretKey(long keyType,
Integer keysize,
P11Slot.P11NewKeyControl control)
Generates a secret key in the PKCS#11 token.
|
protected abstract P11IdentityId |
P11Slot.doGenerateSM2Keypair(P11Slot.P11NewKeyControl control)
Generates an SM2p256v1 keypair.
|
protected abstract P11IdentityId |
P11Slot.doImportSecretKey(long keyType,
byte[] keyValue,
P11Slot.P11NewKeyControl control)
Imports secret key object in the PKCS#11 token.
|
P11IdentityId |
P11Slot.generateDSAKeypair(BigInteger p,
BigInteger q,
BigInteger g,
P11Slot.P11NewKeyControl control)
Generates a DSA keypair.
|
P11IdentityId |
P11Slot.generateDSAKeypair(int plength,
int qlength,
P11Slot.P11NewKeyControl control)
Generates a DSA keypair.
|
P11IdentityId |
P11Slot.generateECKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
P11Slot.P11NewKeyControl control)
Generates an EC keypair.
|
P11IdentityId |
P11Slot.generateRSAKeypair(int keysize,
BigInteger publicExponent,
P11Slot.P11NewKeyControl control)
Generates an RSA keypair.
|
P11IdentityId |
P11Slot.generateSecretKey(long keyType,
Integer keysize,
P11Slot.P11NewKeyControl control)
Generates a secret key in the PKCS#11 token.
|
P11IdentityId |
P11Slot.generateSM2Keypair(P11Slot.P11NewKeyControl control)
Generates an SM2 keypair.
|
P11IdentityId |
P11Identity.getId() |
abstract P11IdentityId |
P11Slot.getIdentityId(byte[] keyId,
String keyLabel) |
P11IdentityId |
P11Slot.importSecretKey(long keyType,
byte[] keyValue,
P11Slot.P11NewKeyControl control)
Imports secret key object in the PKCS#11 token.
|
| Modifier and Type | Method and Description |
|---|---|
abstract P11Identity |
P11Slot.getIdentity(P11IdentityId identityId) |
| Constructor and Description |
|---|
P11Identity(P11Slot slot,
P11IdentityId id) |
| Modifier and Type | Method and Description |
|---|---|
protected static P11IdentityId |
P11SignSpeed.getNonNullKeyId(P11Slot slot,
byte[] keyId,
String keyLabel) |
| Constructor and Description |
|---|
P11SignSpeed(SecurityFactory securityFactory,
P11Slot slot,
String signatureAlgorithm,
boolean deleteKeyAfterTest,
P11IdentityId identityId,
String description,
int threads) |
Copyright © 2023. All rights reserved.