The CAPDU object is used to format and send COMMAND APDUs (according to ISO 7816-4) to the smartcard.
More...
|
| CAPDU (byte[]bytes) |
|
| CAPDU (byte CLA, byte INS, byte P1, byte P2) |
|
| CAPDU (byte CLA, byte INS, byte P1, byte P2, byte P3) |
|
| CAPDU (byte CLA, byte INS, byte P1, byte P2, byte[] data) |
|
| CAPDU (byte CLA, byte INS, byte P1, byte P2, string data) |
|
| CAPDU (byte CLA, byte INS, byte P1, byte P2, byte[] data, byte LE) |
|
| CAPDU (byte CLA, byte INS, byte P1, byte P2, string data, byte LE) |
|
| CAPDU (string str) |
|
bool | Valid () |
|
| CardBuffer (byte b) |
|
| CardBuffer (ushort w) |
|
| CardBuffer (byte[]bytes) |
|
| CardBuffer (byte[]bytes, long length) |
|
| CardBuffer (byte[]bytes, long offset, long length) |
|
| CardBuffer (string str) |
|
byte | GetByte (long offset) |
|
byte [] | GetBytes () |
|
byte [] | GetBytes (long length) |
|
byte [] | GetBytes (long offset, long length) |
|
char [] | GetChars (long offset, long length) |
|
void | SetBytes (byte[]bytes) |
|
void | SetBytes (byte[]bytes, long length) |
|
void | SetBytes (byte[]bytes, long offset, long length) |
|
void | Append (byte[]bytes) |
|
void | AppendOne (byte b) |
|
bool | StartsWith (byte[] value) |
|
bool | StartsWith (CardBuffer value) |
|
void | SetString (string str) |
|
string | GetString () |
|
virtual string | AsString (string separator) |
|
virtual string | AsString () |
|
|
byte | CLA [get, set] |
|
byte | INS [get, set] |
|
byte | P1 [get, set] |
|
byte | P2 [get, set] |
|
byte | Lc [get] |
|
byte | Le [get, set] |
|
CardBuffer | data [get, set] |
|
byte [] | DataBytes [get, set] |
|
byte | this[long offset] [get] |
|
int | Length [get] |
|
|
static byte [] | BytesFromString (string s) |
|
static string | StringFromBytes (byte[] a) |
|
byte [] | Bytes |
|
The CAPDU object is used to format and send COMMAND APDUs (according to ISO 7816-4) to the smartcard.
◆ CAPDU() [1/7]
SpringCard.PCSC.CAPDU.CAPDU |
( |
byte [] |
bytes | ) |
|
Create a CAPDU from the given arry of bytes
◆ CAPDU() [2/7]
SpringCard.PCSC.CAPDU.CAPDU |
( |
byte |
CLA, |
|
|
byte |
INS, |
|
|
byte |
P1, |
|
|
byte |
P2 |
|
) |
| |
Create a CAPDU with only the CLA, INS, P1, P2 header
◆ CAPDU() [3/7]
SpringCard.PCSC.CAPDU.CAPDU |
( |
byte |
CLA, |
|
|
byte |
INS, |
|
|
byte |
P1, |
|
|
byte |
P2, |
|
|
byte |
P3 |
|
) |
| |
Create a CAPDU with only the CLA, INS, P1, P2 header and a P3 (Le) entry
◆ CAPDU() [4/7]
SpringCard.PCSC.CAPDU.CAPDU |
( |
byte |
CLA, |
|
|
byte |
INS, |
|
|
byte |
P1, |
|
|
byte |
P2, |
|
|
byte [] |
data |
|
) |
| |
Create a CAPDU with the CLA, INS, P1, P2 header and some data
◆ CAPDU() [5/7]
SpringCard.PCSC.CAPDU.CAPDU |
( |
byte |
CLA, |
|
|
byte |
INS, |
|
|
byte |
P1, |
|
|
byte |
P2, |
|
|
string |
data |
|
) |
| |
Create a CAPDU with the CLA, INS, P1, P2 header and some data. The data field is taken from a string.
◆ CAPDU() [6/7]
SpringCard.PCSC.CAPDU.CAPDU |
( |
byte |
CLA, |
|
|
byte |
INS, |
|
|
byte |
P1, |
|
|
byte |
P2, |
|
|
byte [] |
data, |
|
|
byte |
LE |
|
) |
| |
Create a CAPDU with the CLA, INS, P1, P2 header, some data and a LE.
◆ CAPDU() [7/7]
SpringCard.PCSC.CAPDU.CAPDU |
( |
byte |
CLA, |
|
|
byte |
INS, |
|
|
byte |
P1, |
|
|
byte |
P2, |
|
|
string |
data, |
|
|
byte |
LE |
|
) |
| |
Create a CAPDU with the CLA, INS, P1, P2 header, some data and a LE. The data field is taken from a string.
The documentation for this class was generated from the following file:
- D:/dev/interne/springcard.software.multiprod/src/common/lib-cs/pcsc/SpringCardPCSC_CardBuffer.cs