@License public class SmartCardProviderFactory extends ProviderFactory<SmartCardTraits>
SmartCard database entry) has been retrieved.| Constructor and Description |
|---|
SmartCardProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
AutoCloseableProvider |
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.
|
public AutoCloseableProvider getProvider(SmartCardTraits traits) throws UnavailableDriverException, SmartCardException
getProvider in class ProviderFactory<SmartCardTraits>traits - the characteristics traits of the smart card whose capabilities the
provider will expose.Provider, or null if none valid could be installed.SmartCardExceptionUnavailableDriverExceptionCopyright © 2012-2014 Andrea Funtò. See here for terms and conditions.