| Package | Description |
|---|---|
| com.entrust.toolkit.pkcs11 |
Contains classes dealing with PKCS #11 (smart cards and hardware
tokens) operations.
|
| Modifier and Type | Method and Description |
|---|---|
SecretKey |
JNIPKCS11.get3DESKeySecure(long sessionHandle,
long keyHandle)
Securely obtains a DESede secret key from a token using RSA wrapping.
|
SecretKey |
JNIPKCS11.getWrappingKeySecure(long sessionHandle,
long keyHandle,
SymmetricKeyType symmetricKeyAlgType,
int wrappingKeySize,
long keyWrapMechanism)
Securely obtains a AES or DESede secret key from a token using RSA wrapping.
|
| Modifier and Type | Method and Description |
|---|---|
long |
JNIPKCS11.addDecryptionKeySecure(long sessionHandle,
SecretKey wrappingKey,
long wrappingKeyHandle,
byte[] decryptionKey,
byte[] id)
Creates a new decryption key object on a token by transferring it to the
token securely.
|
long |
JNIPKCS11.setDSAPrivateKeySecure(long sessionHandle,
long wrappingKeyHandle,
SecretKey wrappingKey,
java.lang.String label,
byte[] id,
boolean encryptAllowed,
boolean signAllowed,
byte[] privateKey)
Creates a new DSA private key object on a token by transferring it to the
token securely.
|
long |
JNIPKCS11.setECPrivateKeySecure(long sessionHandle,
long wrappingKeyHandle,
SecretKey wrappingKey,
java.lang.String label,
byte[] id,
boolean encryptAllowed,
boolean signAllowed,
byte[] privateKey)
Creates a new EC private key object on a token by transferring it to the
token securely.
|
long |
JNIPKCS11.setPrivateKeySecure(long sessionHandle,
long wrappingKeyHandle,
SecretKey wrappingKey,
java.lang.String label,
byte[] id,
boolean encryptAllowed,
boolean signAllowed,
byte[] privateKey,
java.lang.String privateKeyAlgorithm,
long keyWrapMode)
Creates a new private key object on a token by transferring it to the
token securely.
|
long |
JNIPKCS11.setRSAPrivateKeySecure(long sessionHandle,
long wrappingKeyHandle,
SecretKey wrappingKey,
java.lang.String label,
byte[] id,
boolean encryptAllowed,
boolean signAllowed,
byte[] privateKey)
Creates a new RSA private key object on a token by transferring it to the
token securely.
|