| Package | Description |
|---|---|
| org.xipki.security.pkcs11 | |
| org.xipki.security.pkcs11.exception |
| Modifier and Type | Method and Description |
|---|---|
P11ObjectIdentifier |
P11Slot.addCert(X509Certificate cert,
P11NewObjectControl control)
Adds the certificate to the PKCS#11 token under the given identifier
objectId. |
protected abstract P11ObjectIdentifier |
P11Slot.addCert0(X509Certificate cert,
P11NewObjectControl control)
Adds the certificate to the PKCS#11 token under the given identifier
objectId. |
P11ObjectIdentifier |
P11IdentityId.getCertId() |
P11ObjectIdentifier |
P11IdentityId.getKeyId() |
P11ObjectIdentifier |
P11KeyParameter.getObjectId() |
P11ObjectIdentifier |
P11Slot.getObjectId(byte[] id,
String label) |
P11ObjectIdentifier |
P11IdentityId.getPublicKeyId() |
P11ObjectIdentifier |
P11Slot.importSecretKey(long keyType,
byte[] keyValue,
P11NewKeyControl control)
Imports secret key object in the PKCS#11 token.
|
| Modifier and Type | Method and Description |
|---|---|
Set<P11ObjectIdentifier> |
P11Slot.getCertIds() |
Map<P11ObjectIdentifier,org.xipki.security.X509Cert> |
P11SlotRefreshResult.getCertificates() |
Map<P11ObjectIdentifier,P11Identity> |
P11SlotRefreshResult.getIdentities() |
Set<P11ObjectIdentifier> |
P11Slot.getIdentityKeyIds() |
| Modifier and Type | Method and Description |
|---|---|
void |
P11SlotRefreshResult.addCertificate(P11ObjectIdentifier objectId,
org.xipki.security.X509Cert certificate) |
int |
P11ObjectIdentifier.compareTo(P11ObjectIdentifier obj) |
X509Certificate |
P11Slot.exportCert(P11ObjectIdentifier objectId)
Exports the certificate of the given identifier
objectId. |
org.xipki.security.X509Cert |
P11Slot.getCert(P11ObjectIdentifier objectId)
Gets certificate with the given identifier
id. |
X509Certificate |
P11CryptService.getCert(P11SlotIdentifier slotId,
P11ObjectIdentifier certId) |
P11Identity |
P11Slot.getIdentity(P11ObjectIdentifier keyId) |
P11Identity |
P11CryptService.getIdentity(P11SlotIdentifier slotId,
P11ObjectIdentifier keyId) |
static P11KeyParameter |
P11KeyParameter.getInstance(P11CryptService p11CryptService,
P11SlotIdentifier slot,
P11ObjectIdentifier objectId) |
boolean |
P11Slot.hasIdentity(P11ObjectIdentifier keyId) |
void |
P11Slot.removeCerts(P11ObjectIdentifier objectId)
TODO.
|
protected abstract void |
P11Slot.removeCerts0(P11ObjectIdentifier objectId) |
void |
P11Slot.removeIdentityByKeyId(P11ObjectIdentifier keyId)
Removes the key (private key, public key, secret key, and certificates) associated with
the given identifier
objectId. |
void |
P11Slot.updateCertificate(P11ObjectIdentifier keyId,
X509Certificate newCert)
Updates the certificate associated with the given ID
keyId with the given certificate
newCert. |
protected abstract void |
P11Slot.updateCertificate0(P11ObjectIdentifier keyId,
X509Certificate newCert)
Updates the certificate associated with the given
objectId with the given certificate
newCert. |
| Constructor and Description |
|---|
P11IdentityId(P11SlotIdentifier slotId,
P11ObjectIdentifier keyId,
String publicKeyLabel,
String certLabel)
TODO.
|
| Constructor and Description |
|---|
P11DuplicateEntityException(P11SlotIdentifier slotId,
P11ObjectIdentifier objectId) |
P11UnknownEntityException(P11SlotIdentifier slotId,
P11ObjectIdentifier objectId) |
Copyright © 2018. All rights reserved.