| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static CertContext |
CertContext.createCertificateContext(int encodingType,
X509Certificate cert)
Creates a CAPI
CertContext object from the given
certificate. |
static CertContext |
CertContext.createCertificateContext(X509Certificate cert)
Creates an MSCAPI certificate context for the given certificate.
|
CertContext |
CertContext.duplicate()
Duplicates this certificate context by calling the CAPI function
CertDuplicateCertificateContext. |
CertContext |
CertStore.enumCertificatesInStore(CertContext previousContext)
Enumerates the certificates contained in this certificate store.
|
CertContext |
CertStore.findCertificateInStore(CertContext certToFind)
Attempt to find the given certificate in this store, and return a
read-only copy of it if it is.
|
CertContext |
CertStore.findCertificateInStore(int findFlags,
CertFindType findType,
java.lang.Object findParameter,
CertContext previousCertContext)
Attempt to find a certificate in this store matching the given
parameters, and return a read-only copy of it if it is.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CertContext> |
CertChainContext.getCertChain()
Returns an ordered list of
CertContext objects that
forms a chain to a root certificate. |
| Modifier and Type | Method and Description |
|---|---|
void |
CertStore.addCertificateContextToStore(CertContext certContext,
CertStoreAddDisposition addDisposition)
Adds the given certificate to this store.
|
CertContext |
CertStore.enumCertificatesInStore(CertContext previousContext)
Enumerates the certificates contained in this certificate store.
|
CertContext |
CertStore.findCertificateInStore(CertContext certToFind)
Attempt to find the given certificate in this store, and return a
read-only copy of it if it is.
|
CertContext |
CertStore.findCertificateInStore(int findFlags,
CertFindType findType,
java.lang.Object findParameter,
CertContext previousCertContext)
Attempt to find a certificate in this store matching the given
parameters, and return a read-only copy of it if it is.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CapiCertFilter.acceptCertificate(CertContext certificate,
CertStore certStore)
This method is used to determine if a CertContext is acceptable based on
criteria that is defined by this method.
|
boolean |
CapiSearchFilter.acceptCertificate(CertContext certificate,
CertStore certStore)
This method simply iterates through the list of supplied
CapiCertFilter and calls the acceptCertificate() on each.
|
boolean |
CertIdentityCertFilter.acceptCertificate(CertContext certificate,
CertStore certStore)
This method checks whether the certificate should be accepted depending
on whether it has the same subject name or CapiContainerName
|
boolean |
UnverifiedCertFilter.acceptCertificate(CertContext certificate,
CertStore certstore)
This method checks if the certificate is acceptable, and returns true if
acceptable, false if not acceptable.
|
| Constructor and Description |
|---|
CapiCredentialReader(CertContext[] contexts)
Create a
CapiCredentialReader that reads certificates
and keys from the given array CertContext objects. |
CertIdentityCertFilter(CertContext context)
Constructor used to filter out certificates that are not part of the same
identity.
|