The CommandApdu type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | CommandApdu()()()() |
Constructs a CommandAPDU with default capacity and content 0 0 0 0.
|
![]() | CommandApdu(array<Byte>[]()[][]) |
Constructs a CommandApdu from ISO7816 apdu bytes.
|
![]() | CommandApdu(Int32) |
Constructs a CommandAPDU with specified capacity and content 0 0 0 0.
|
![]() | CommandApdu(Byte, Byte) |
Constructs a CommandAPDU with default capacity and content CLA INS 0 0.
|
![]() | CommandApdu(Byte, Byte, Byte, Byte) |
Constructs a CommandAPDU with default capacity and content CLA INS P1 P2.
|
Methods
Name | Description | |
---|---|---|
![]() | Append(Byte) |
Append byte to this apdu (IDATA).
|
![]() | Append(array<Byte>[]()[][]) |
Append bytes to this apdu (IDATA).
|
![]() | Append(Int16) |
Append a short value to this apdu (IDATA).
|
![]() | Append(Int32) |
Append an integer value to this apdu (IDATA).
|
![]() | Append(Int64) |
Append a long value to this apdu (IDATA).
|
![]() | Append(array<Byte>[]()[][], Int32, Int32) |
Append bytes to this apdu (IDATA).
|
![]() | Append24BitInteger |
Append an 3 byte 24 bit integer value to this apdu (IDATA).
|
![]() | Clone |
Clone this object.
|
![]() | CopyIData |
Copy IDATA (see ISO7816) of APDU to destination buffer.
|
![]() | DisableLE |
Disable LE.
|
![]() | Equals |
Check if this CommandAPDU is equal to specified object.
(Overrides Object..::..Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode |
Get hash code for this object.
(Overrides Object..::..GetHashCode()()()().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Reset |
Reset CommandAPDU to have no data but header (CLA INS P1 P2) with LC=0 and LE=0
|
![]() | SetLC |
Set LC value for this APDU.
|
![]() | ToString |
Get this CommandAPDU as string (hexadecimal dump of byte content).
(Overrides Object..::..ToString()()()().) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | LeDisabled |
Set LE to LeDisabled if no response data should be received from card.
|
Properties
Name | Description | |
---|---|---|
![]() | CLA |
APDU class byte CLA
|
![]() | Data |
Get a copy of the byte array holding the apdu data (Header + IDATA).
|
![]() | DoNotLog |
If set to true prevent this command apdu from being visible in log file.
|
![]() ![]() | DoNotLogGlobal |
Initial value for CommandAPDU.DoNotLog. Set to true (default) to prevent any command apdu to be visible in log file.
|
![]() | ExtendedLC |
LC value (supporting extended length) for this APDU.
|
![]() | IData |
Get a copy of the byte array holding the apdu data field (IDATA without header).
|
![]() | INS |
APDU instruction byte INS.
|
![]() | IsLEDisabled |
True if LE is disabled, otherwise false.
|
![]() | Item |
Get a byte of this APDU.
|
![]() | LC |
LC value for this APDU.
|
![]() | LcField |
Get a copy of the apdu lc field. This may be
one (standard length) or multiple bytes (extended length).
|
![]() | LE |
LE (0..255 respective 0..65535 or LeDisabled)
|
![]() | LeField |
Get a copy of the apdu le field. This may be none (disable Le),
one (standard length) or multiple bytes (extended length).
|
![]() | Length |
Get current length of complete APDU.
|
![]() | P1 |
APDU first ISO7816 parameter P1.
|
![]() | P1P2 |
APDU combined first and second parameter P1P2.
|
![]() | P2 |
APDU second ISO7816 parameter P2
|
![]() | UseExtendedLC |
Indicates if the APDU should be encoded using extended length LC.
|
![]() | UseExtendedLE |
Indicates if the APDU should be encoded using extended length LE.
|
![]() | UseExtendedLength |
Indicates if the APDU should be encoded using extended length LC and LE.
|