public class SmartCardTraits extends Object implements ProviderTraits
| Constructor and Description |
|---|
SmartCardTraits(Reader reader,
SmartCard smartcard)
Constructor.
|
SmartCardTraits(Reader reader,
SmartCard smartcard,
boolean hashOnCard)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Reader |
getReader()
Returns the reader holding the smart card.
|
SmartCard |
getSmartCard()
Returns the database entry for the smart card in the reader.
|
boolean |
isHashOnCard()
Returns whether the new provider will hash data in code or on the smart card.
|
public SmartCardTraits(Reader reader, SmartCard smartcard)
reader - the reader holding the smart card.smartcard - the database entry for the smart card in the reader.public SmartCardTraits(Reader reader, SmartCard smartcard, boolean hashOnCard)
reader - the reader holding the smart card.smartcard - the database entry for the smart card in the reader.hashOnCard - whether the new provider will hash data in code or on the smart card.public Reader getReader()
public SmartCard getSmartCard()
public boolean isHashOnCard()
Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.