| Package | Description |
|---|---|
| org.dihedron.crypto.exceptions | |
| org.dihedron.crypto.providers.smartcard | |
| org.dihedron.crypto.providers.smartcard.discovery |
The package containing classes to support the creation of smart cards-based,
PKCS#11 security providers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnavailableDriverException |
| Modifier and Type | Method and Description |
|---|---|
AutoCloseableProvider |
SmartCardProviderFactory.getProvider(SmartCardTraits traits)
Installs a new PKCS#11 security provider supporting the smart card model
and make specified in the initialisation traits, which must provide a
reference to the smart card reader in which the card is present and to
the database entry corresponding to the card's model.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<Reader> |
Readers.enumerate()
Enumerates all available readers and returns basic information about
each of them: their assigned slot, the description and, if a smart card
is present, its ATR.
|
static Collection<Reader> |
Readers.enumerate(org.dihedron.core.filters.Filter<Reader> filter)
Enumerates the available readers, applying a filter to it.
|
static DataBase |
DataBaseLoader.load()
Loads the default smart cards database from the default XML on the class
path.
|
static DataBase |
DataBaseLoader.load(InputStream input)
Initialises the database by parsing the XML file passed in as an input
stream.
|
static DataBase |
DataBaseLoader.load(String specification)
Loads the smart card database from the URL represented by the given specification.
|
static DataBase |
DataBaseLoader.load(URL url)
Loads a database trying to open the stream from the given URL.
|
Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.