public class CCID extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CCID.FEATURE |
static class |
CCID.INS |
Modifier and Type | Field and Description |
---|---|
static String |
DUTCH_LANGUAGE |
static int |
DUTCH_LANGUAGE_CODE |
static int |
ENGLISH_LANGUAGE_CODE |
static String |
FRENCH_LANGUAGE |
static int |
FRENCH_LANGUAGE_CODE |
static String |
GERMAN_LANGUAGE |
static int |
GERMAN_LANGUAGE_CODE |
static int |
GET_FEATURES |
static int |
GET_FEATURES_MICROSOFT |
static int |
MAX_PIN_SIZE |
static int |
MIN_PIN_SIZE |
static Set<String> |
ppduNames |
Constructor and Description |
---|
CCID(javax.smartcardio.Card card,
javax.smartcardio.CardTerminal cardTerminal,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
static void |
addPPDUName(String name) |
byte[] |
createPINModificationDataStructure(Locale locale,
CCID.INS ins) |
byte[] |
createPINVerificationDataStructure(Locale locale,
CCID.INS ins) |
Integer |
getFeature(CCID.FEATURE feature) |
byte |
getLanguageId(Locale locale) |
boolean |
hasFeature(CCID.FEATURE feature) |
protected byte[] |
transmitControlCommand(int controlCode,
byte[] command) |
protected byte[] |
transmitPPDUCommand(int controlCode,
byte[] command) |
boolean |
usesPPDU() |
void |
waitForOK() |
public static final int GET_FEATURES
public static final int GET_FEATURES_MICROSOFT
public static final int MIN_PIN_SIZE
public static final int MAX_PIN_SIZE
public static final String DUTCH_LANGUAGE
public static final String FRENCH_LANGUAGE
public static final String GERMAN_LANGUAGE
public static final int DUTCH_LANGUAGE_CODE
public static final int FRENCH_LANGUAGE_CODE
public static final int GERMAN_LANGUAGE_CODE
public static final int ENGLISH_LANGUAGE_CODE
public CCID(javax.smartcardio.Card card, javax.smartcardio.CardTerminal cardTerminal, Logger logger)
public static void addPPDUName(String name)
public boolean usesPPDU()
public boolean hasFeature(CCID.FEATURE feature)
public Integer getFeature(CCID.FEATURE feature)
protected byte[] transmitPPDUCommand(int controlCode, byte[] command) throws javax.smartcardio.CardException
javax.smartcardio.CardException
protected byte[] transmitControlCommand(int controlCode, byte[] command) throws javax.smartcardio.CardException
javax.smartcardio.CardException
public void waitForOK() throws javax.smartcardio.CardException, InterruptedException
javax.smartcardio.CardException
InterruptedException
public final byte getLanguageId(Locale locale)
public byte[] createPINVerificationDataStructure(Locale locale, CCID.INS ins) throws IOException
IOException
public byte[] createPINModificationDataStructure(Locale locale, CCID.INS ins) throws IOException
IOException
Copyright © 2012–2024 e-Contract.be BV. All rights reserved.