| Package | Description |
|---|---|
| com.entrust.toolkit.capi |
Contains low-level classes for interfacing with Microsoft's Crypto API.
|
| 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.security.crypto.digest |
Contains implementations of message digest algorithms.
|
| Modifier and Type | Method and Description |
|---|---|
CryptProvider |
CryptKey.getCryptProvider()
Returns the
CryptProvider used when creating this key. |
static CryptProvider |
CryptProvider.getInstance(java.lang.String container,
java.lang.String provider,
ProviderType providerType,
int flags)
Creates an returns an initialized CryptProvider.
|
CryptProvider |
CryptHash.getProvider()
Return the handle to the provider of this hash object.
|
| Modifier and Type | Method and Description |
|---|---|
static java.security.KeyPair |
CryptKey.generateKeyPair(CryptProvider provider,
EntrustAsymKeyType keyType,
KeySpec keySpec,
int flags)
Generates a key pair in MSCAPI.
|
static CryptHash |
CryptHash.getHashInstance(CryptProvider provider,
HashAlgorithms hashAlg)
Creates and returns a CAPI hash with the given algorithm, associated with
the given provider.
|
static CryptKey |
CryptKey.getInstance(CryptProvider provider,
KeySpec keySpec)
Creates and returns a
CryptKey object associated with a
public/private key pair that already exists in CAPI. |
static CryptKey |
CryptKey.importKey(CryptProvider provider,
byte[] key,
CryptKey hPubKey,
int flags)
Imports a key in to CAPI and returns a handle to the newly imported key.
|
static CapiPrivateKey |
CryptKey.importPrivateKey(CryptProvider provider,
java.security.PrivateKey privateKey,
KeySpec keySpec,
int flags,
boolean forceSecureKeyImport)
Imports the provided software-based private key into MSCAPI, using the
provided key specifier to determine the MSCAPI key algorithm for the key.
|
static CapiPrivateKey |
CryptKey.importPrivateKey(CryptProvider provider,
java.security.PrivateKey privateKey,
KeyUsage keyUsage,
int flags,
boolean forceSecureKeyImport)
Imports the provided software-based private key into MSCAPI, using the
provided key usage to determine the MSCAPI key algorithm for the key.
|
static CertStore |
CertStore.openStore(CertStoreProvType storeProviderType,
int encodingType,
CryptProvider cryptProvider,
int flags,
java.lang.String parameter)
Opens a certificate store and returns a handle to the newly opened store.
|
static CertStore |
CertStore.openSystemStore(CryptProvider cryptProvider,
java.lang.String storeName)
Opens a system certificate store and returns a handle to the newly
opened store.
|
| Modifier and Type | Method and Description |
|---|---|
CryptProvider |
CapiPrivateKey.getCryptProvider()
Returns the
CryptProvider object associated with this key. |
| Modifier and Type | Method and Description |
|---|---|
void |
CapiDigest.createCapiHash(CryptProvider provider)
Create the internal native CAPI hasher.
|
void |
Ssl3ShaMd5Capi.createCapiHash(CryptProvider provider) |