CommandType
SmartCard Application Protocol Data Unit - Command
-
Returns bytes in the command body. If this APDU has no body, this property should return nil
-
Returns the maximum number of expected data bytes in a response APDU (Ne/Le). 0 = unlimited/unknown, nil = no output expected
-
Returns the number of data bytes in the command body (Nc) or 0 if this APDU has no body. This call should be equivalent to
self.data.count
. -
Returns the value of the class byte CLA.
-
Returns the value of the instruction byte INS.
-
Returns the value of the parameter byte P1.
-
Returns the value of the parameter byte P2.
-
Serialized APDU message
-
toLogicalChannel(channelNo:
Extension method) Convert a Command to be send on a given channel No