public static final class CardSelector.AidSelector
extends java.lang.Object
implements java.io.Serializable
- AID’s bytes of the card application to select. In case the card application is currently
not selected, a logical channel is established and the corresponding card application is
selected by the card reader, otherwise keep the current channel.
CardSelector.AidSelector.FileOccurrence
and CardSelector.AidSelector.FileControlInformation
defines selections
modes according to ISO7816-4.
Modifier and Type | Class and Description |
---|---|
static class |
CardSelector.AidSelector.AidSelectorBuilder
Builder of
CardSelector.AidSelector |
static class |
CardSelector.AidSelector.FileControlInformation
FileControlInformation indicates how to which template is expected in accordance with
ISO7816-4
|
static class |
CardSelector.AidSelector.FileOccurrence
FileOccurrence indicates how to carry out the file occurrence in accordance with ISO7816-4
|
Modifier and Type | Field and Description |
---|---|
static int |
AID_MAX_LENGTH |
static int |
AID_MIN_LENGTH |
Modifier and Type | Method and Description |
---|---|
void |
addSuccessfulStatusCode(int statusCode)
Add as status code to be accepted to the list of successful selection status codes
|
static CardSelector.AidSelector.AidSelectorBuilder |
builder()
Gets a new builder.
|
byte[] |
getAidToSelect()
Getter for the AID provided at construction time
|
CardSelector.AidSelector.FileControlInformation |
getFileControlInformation() |
CardSelector.AidSelector.FileOccurrence |
getFileOccurrence() |
java.util.Set<java.lang.Integer> |
getSuccessfulSelectionStatusCodes()
Gets the list of successful selection status codes
|
java.lang.String |
toString()
Print out the AID in hex
|
public static final int AID_MIN_LENGTH
public static final int AID_MAX_LENGTH
public static CardSelector.AidSelector.AidSelectorBuilder builder()
public byte[] getAidToSelect()
public CardSelector.AidSelector.FileOccurrence getFileOccurrence()
public CardSelector.AidSelector.FileControlInformation getFileControlInformation()
public java.util.Set<java.lang.Integer> getSuccessfulSelectionStatusCodes()
public void addSuccessfulStatusCode(int statusCode)
statusCode
- the status code to be acceptedpublic java.lang.String toString()
toString
in class java.lang.Object