SpringCard PC/SC API for .NET  18.10.10
Access PC/SC couplers and smart cards from .NET applications
SpringCard.PCSC.RAPDU Class Reference

The RAPDU object is used to receive and decode RESPONSE APDUs (according to ISO 7816-4) from the smartcard. More...

Inheritance diagram for SpringCard.PCSC.RAPDU:
SpringCard.PCSC.CardBuffer

Public Member Functions

 RAPDU (CardBuffer buffer)
 
 RAPDU (byte[]bytes, int length)
 
 RAPDU (byte[]bytes)
 
 RAPDU (byte[]bytes, byte SW1, byte SW2)
 
 RAPDU (string data, byte sw1, byte sw2)
 
 RAPDU (byte sw1, byte sw2)
 
 RAPDU (ushort sw)
 
- Public Member Functions inherited from SpringCard.PCSC.CardBuffer
 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 ()
 

Properties

bool isValid [get]
 
bool hasData [get]
 
CardBuffer data [get]
 
byte SW1 [get]
 
byte SW2 [get]
 
ushort SW [get]
 
string SWString [get]
 
- Properties inherited from SpringCard.PCSC.CardBuffer
byte this[long offset] [get]
 
int Length [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from SpringCard.PCSC.CardBuffer
static byte [] BytesFromString (string s)
 
static string StringFromBytes (byte[] a)
 
- Public Attributes inherited from SpringCard.PCSC.CardBuffer
byte [] Bytes
 

Detailed Description

The RAPDU object is used to receive and decode RESPONSE APDUs (according to ISO 7816-4) from the smartcard.


The documentation for this class was generated from the following file: