| Package | Description |
|---|---|
| com.entrust.toolkit.credentials |
Contains classes the enable creation, recovery, reading, and writing of
digital identities using a
variety of key sources, classes for implementing the Toolkit's KeyStore
capabilities, and classes to support integration with a Smart Card
Management System.
|
| com.entrust.toolkit.keychain |
| Modifier and Type | Class and Description |
|---|---|
class |
KeychainEcPrivateKey
The KeychainEcPrivateKey models an Elliptic curve private key that resides in the Apple
keychain.
|
class |
KeychainRsaPrivateKey |
| Modifier and Type | Method and Description |
|---|---|
static KeychainPrivateKey |
KeychainPrivateKey.getInstance(KeychainKey keychainKey)
Creates and returns a
KeyChainPrivateKey using with an already initialized
Keychainkey. |
static KeychainPrivateKey |
KeychainPrivateKey.getInstance(X509Certificate cert)
Get an instance of a KeychainPrivateKey that is associated with the specified certificate.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
JniKeychain.createDecryptedData(KeychainPrivateKey key,
byte[] cipherText)
Decrypt the given CipherText using an RSA private key.
|
static byte[] |
JniKeychain.createEncryptedData(KeychainPrivateKey key,
byte[] plainText)
Encrypt the given data using an RSA Private key.
|
static byte[] |
JniKeychain.createRSASignaturePKCS1v15Raw(KeychainPrivateKey key,
byte[] encodedDigestInfoToSign)
Create the RSA PKCS1 v1.5 signature given the KeychainPrivateKey, the encoded
digest info data.
|
static byte[] |
JniKeychain.createSignature(KeychainPrivateKey key,
byte[] dataToSign)
Create the signature given the KeychainPrivateKey, the data to Sign and the
algorithm to use for the Signature.
|
static void |
JniKeychain.deleteKeychainKey(KeychainPrivateKey privateKeyChainKey)
delete the private key by given the KeychainPrivateKey
|