com.jaccal
Class CardResponse

java.lang.Object
  extended bycom.jaccal.CardResponse

public class CardResponse
extends Object

The response from the smart card after a command is sent to the card. Contains a status word object

Author:
Chang Sau Sheong
See Also:
StatusWord

Field Summary
private  byte[] data
           
 StatusWord statusWord
           
 
Constructor Summary
CardResponse()
           
 
Method Summary
 byte[] getBytes()
           
 byte[] getData()
           
 byte[] getRespBytes()
           
 StatusWord getStatusWord()
           
 void setData(byte[] data)
           
 void setStatusWord(StatusWord statusWord)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

data

private byte[] data

statusWord

public StatusWord statusWord
Constructor Detail

CardResponse

public CardResponse()
Method Detail

getData

public byte[] getData()

setData

public void setData(byte[] data)

getStatusWord

public StatusWord getStatusWord()

setStatusWord

public void setStatusWord(StatusWord statusWord)

getBytes

public final byte[] getBytes()
                      throws IOException
Throws:
IOException

getRespBytes

public final byte[] getRespBytes()
                          throws IOException
Throws:
IOException

toString

public String toString()


Copyright © 2005 Chang Sau Sheong, Thomas Tarpin-Lyonnet. All Rights Reserved.