| Package | Description |
|---|---|
| org.xipki.security.pkcs11 | |
| org.xipki.security.pkcs11.proxy |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected abstract P11Identity |
P11Slot.generateDSAKeypair0(BigInteger p,
BigInteger q,
BigInteger g,
P11Slot.P11NewKeyControl control)
Generates a DSA keypair.
|
P11IdentityId |
P11Slot.generateECKeypair(String curveNameOrOid,
P11Slot.P11NewKeyControl control)
Generates an EC keypair.
|
protected abstract P11Identity |
P11Slot.generateECKeypair0(org.bouncycastle.asn1.ASN1ObjectIdentifier curveId,
P11Slot.P11NewKeyControl control)
Generates an EC keypair.
|
P11IdentityId |
P11Slot.generateRSAKeypair(int keysize,
BigInteger publicExponent,
P11Slot.P11NewKeyControl control)
Generates an RSA keypair.
|
protected abstract P11Identity |
P11Slot.generateRSAKeypair0(int keysize,
BigInteger publicExponent,
P11Slot.P11NewKeyControl control)
Generates an RSA keypair.
|
P11IdentityId |
P11Slot.generateSecretKey(long keyType,
int keysize,
P11Slot.P11NewKeyControl control)
Generates a secret key in the PKCS#11 token.
|
protected abstract P11Identity |
P11Slot.generateSecretKey0(long keyType,
int keysize,
P11Slot.P11NewKeyControl control)
Generates a secret key in the PKCS#11 token.
|
P11IdentityId |
P11Slot.generateSM2Keypair(P11Slot.P11NewKeyControl control)
Generates an SM2 keypair.
|
protected abstract P11Identity |
P11Slot.generateSM2Keypair0(P11Slot.P11NewKeyControl control)
Generates an SM2p256v1 keypair.
|
P11ObjectIdentifier |
P11Slot.importSecretKey(long keyType,
byte[] keyValue,
P11Slot.P11NewKeyControl control)
Imports secret key object in the PKCS#11 token.
|
protected abstract P11Identity |
P11Slot.importSecretKey0(long keyType,
byte[] keyValue,
P11Slot.P11NewKeyControl control)
Imports secret key object in the PKCS#11 token.
|
| Modifier and Type | Method and Description |
|---|---|
P11Slot.P11NewKeyControl |
ProxyMessage.GenDSAKeypairParams.getControl() |
P11Slot.P11NewKeyControl |
ProxyMessage.GenECKeypairParams.getControl() |
P11Slot.P11NewKeyControl |
ProxyMessage.GenRSAKeypairParams.getControl() |
P11Slot.P11NewKeyControl |
ProxyMessage.GenSecretKeyParams.getControl() |
P11Slot.P11NewKeyControl |
ProxyMessage.GenSM2KeypairParams.getControl() |
P11Slot.P11NewKeyControl |
ProxyMessage.ImportSecretKeyParams.getControl() |
P11Slot.P11NewKeyControl |
ProxyMessage.NewKeyControl.getControl() |
| Modifier and Type | Method and Description |
|---|---|
protected P11Identity |
ProxyP11Slot.generateDSAKeypair0(BigInteger p,
BigInteger q,
BigInteger g,
P11Slot.P11NewKeyControl control) |
protected P11Identity |
ProxyP11Slot.generateECKeypair0(org.bouncycastle.asn1.ASN1ObjectIdentifier curveId,
P11Slot.P11NewKeyControl control) |
protected P11Identity |
ProxyP11Slot.generateRSAKeypair0(int keysize,
BigInteger publicExponent,
P11Slot.P11NewKeyControl control) |
protected P11Identity |
ProxyP11Slot.generateSecretKey0(long keyType,
int keysize,
P11Slot.P11NewKeyControl control) |
protected P11Identity |
ProxyP11Slot.generateSM2Keypair0(P11Slot.P11NewKeyControl control) |
protected P11Identity |
ProxyP11Slot.importSecretKey0(long keyType,
byte[] keyValue,
P11Slot.P11NewKeyControl control) |
| Constructor and Description |
|---|
GenDSAKeypairParams(P11SlotIdentifier slotId,
P11Slot.P11NewKeyControl control,
BigInteger p,
BigInteger q,
BigInteger g) |
GenECKeypairParams(P11SlotIdentifier slotId,
P11Slot.P11NewKeyControl control,
org.bouncycastle.asn1.ASN1ObjectIdentifier curveId) |
GenRSAKeypairParams(P11SlotIdentifier slotId,
P11Slot.P11NewKeyControl control,
int keysize,
BigInteger publicExponent) |
GenSecretKeyParams(P11SlotIdentifier slotId,
P11Slot.P11NewKeyControl control,
long keyType,
int keysize) |
GenSM2KeypairParams(P11SlotIdentifier slotId,
P11Slot.P11NewKeyControl control) |
ImportSecretKeyParams(P11SlotIdentifier slotId,
P11Slot.P11NewKeyControl control,
long keyType,
byte[] keyValue) |
NewKeyControl(P11Slot.P11NewKeyControl control) |
Copyright © 2018. All rights reserved.