public final class APDUClass extends Object
| Constructor and Description |
|---|
APDUClass() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getChannelNumber(int value)
Gets number of a logical channel to pass the APDU command through.
|
static APDUClassSecureMessaging |
getSecureMessaging(int value)
Gets the idientifier of a secure messaging mechanism applied to the APDU command.
|
static int |
getValue(boolean isLastOrTheOnly,
APDUClassSecureMessaging secureMessaging,
int channelNumber)
Gets the class byte (CLA) of the APDU command header.
|
static boolean |
isInterindustry(int value)
Checks whether APDU class byte (CLA) is interindustry.
|
static boolean |
isInterindustryFirst(int value)
Checks whether APDU class byte (CLA) is interindustry first.
|
static boolean |
isInterindustryFurther(int value)
Checks whether APDU class byte (CLA) is interindustry further.
|
static boolean |
isInterindustryReserved(int value)
Checks whether APDU class byte (CLA) is interindustry reserved.
|
static boolean |
isLastOrTheOnly(int value)
Checks whether APDU class byte (CLA) is the last or the only command in the chain.
|
static boolean |
isProprietary(int value)
Checks whether APDU class byte (CLA) is proprietary.
|
static boolean |
isValid(int value)
Indicates whether APDU class byte (CLA) is valid,
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
String |
toString(int value)
Returns a String that represents the APDU class value.
|
String |
toString(int value,
String format)
Returns a String that represents the APDU class value.
|
public static com.neurotec.lang.NType nativeTypeOf()
public static int getValue(boolean isLastOrTheOnly,
APDUClassSecureMessaging secureMessaging,
int channelNumber)
isLastOrTheOnly - Boolean parameter specifying whether the APDU command is the last or only command of a chain.secureMessaging - The idientifier of a secure messaging mechanism applied to the APDU command.channelNumber - Number of a logical channel to pass the APDU command through.public static boolean isValid(int value)
value - APDU class value.public static boolean isInterindustry(int value)
value - APDU class value.public static boolean isProprietary(int value)
value - APDU class value.public static boolean isInterindustryFirst(int value)
value - APDU class value.public static boolean isInterindustryFurther(int value)
value - APDU class value.public static boolean isInterindustryReserved(int value)
value - APDU class value.public static boolean isLastOrTheOnly(int value)
value - APDU class value.public static APDUClassSecureMessaging getSecureMessaging(int value)
value - APDU class value.public static int getChannelNumber(int value)
value - APDU class value.public String toString(int value)
value - APDU class value.Copyright © 2016 Neurotechnology. All rights reserved.