OpenCard  
 
OCF, the OpenCard Framework is a standard Java framework for working with Smart Cards.  
 

opencard.tests.terminal.codes
Class BullCodes

java.lang.Object
  |
  +--opencard.tests.terminal.codes.BullCodes

public class BullCodes
extends java.lang.Object
implements CommandCodes

CLAss and INStruction codes for the Bull smartcard Tpye xxx. This class implements exactly the interface CommandCodes. Most methods are trivial and therefore not commented.

Version:
$Id: BullCodes.java,v 1.1 1999/12/03 09:31:38 damke Exp $
See Also:
CommandCodes

Constructor Summary
BullCodes()
           
 
Method Summary
 byte getAppendRecordByte()
           
 byte getAskRandomByte()
           
 int getBlockSize()
           
 byte getClassByte()
           
 byte getCreateFileByte()
           
 byte getDecreaseByte()
           
 byte getDeleteFileByte()
           
 byte getEraseBinaryByte()
           
 byte getExternalAuthByte()
           
 byte getGenerateKeyByte()
           
 byte getGetResponseByte()
           
 byte getGiveRandomByte()
           
 byte getIncreaseByte()
           
 byte getInvalidateByte()
           
 byte getReadBinaryByte()
           
 byte getReadRecordByte()
           
 byte getRehabilitateByte()
           
 byte getSearchByte()
           
 byte getSelectByte()
           
 byte getUpdateBinaryByte()
           
 byte getUpdateRecordByte()
           
 byte getVerifyCHVByte()
           
 boolean needsZeroLc()
           
 boolean needsZeroLe()
           
 boolean needsZeroLe(boolean info)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BullCodes

public BullCodes()
Method Detail

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in interface CommandCodes

needsZeroLc

public boolean needsZeroLc()
Specified by:
needsZeroLc in interface CommandCodes

needsZeroLe

public boolean needsZeroLe()
Specified by:
needsZeroLe in interface CommandCodes

needsZeroLe

public boolean needsZeroLe(boolean info)
Specified by:
needsZeroLe in interface CommandCodes

getClassByte

public byte getClassByte()
Specified by:
getClassByte in interface CommandCodes

getSelectByte

public byte getSelectByte()
Specified by:
getSelectByte in interface CommandCodes

getReadBinaryByte

public byte getReadBinaryByte()
Specified by:
getReadBinaryByte in interface CommandCodes

getReadRecordByte

public byte getReadRecordByte()
Specified by:
getReadRecordByte in interface CommandCodes

getUpdateBinaryByte

public byte getUpdateBinaryByte()
Specified by:
getUpdateBinaryByte in interface CommandCodes

getUpdateRecordByte

public byte getUpdateRecordByte()
Specified by:
getUpdateRecordByte in interface CommandCodes

getAppendRecordByte

public byte getAppendRecordByte()
Specified by:
getAppendRecordByte in interface CommandCodes

getIncreaseByte

public byte getIncreaseByte()
Specified by:
getIncreaseByte in interface CommandCodes

getDecreaseByte

public byte getDecreaseByte()
Specified by:
getDecreaseByte in interface CommandCodes

getCreateFileByte

public byte getCreateFileByte()
Specified by:
getCreateFileByte in interface CommandCodes

getDeleteFileByte

public byte getDeleteFileByte()
Specified by:
getDeleteFileByte in interface CommandCodes

getInvalidateByte

public byte getInvalidateByte()
Specified by:
getInvalidateByte in interface CommandCodes

getRehabilitateByte

public byte getRehabilitateByte()
Specified by:
getRehabilitateByte in interface CommandCodes

getVerifyCHVByte

public byte getVerifyCHVByte()
Specified by:
getVerifyCHVByte in interface CommandCodes

getExternalAuthByte

public byte getExternalAuthByte()
Specified by:
getExternalAuthByte in interface CommandCodes

getAskRandomByte

public byte getAskRandomByte()
Specified by:
getAskRandomByte in interface CommandCodes

getGiveRandomByte

public byte getGiveRandomByte()
Specified by:
getGiveRandomByte in interface CommandCodes

getEraseBinaryByte

public byte getEraseBinaryByte()
Specified by:
getEraseBinaryByte in interface CommandCodes

getGetResponseByte

public byte getGetResponseByte()
Specified by:
getGetResponseByte in interface CommandCodes

getGenerateKeyByte

public byte getGenerateKeyByte()
Specified by:
getGenerateKeyByte in interface CommandCodes

getSearchByte

public byte getSearchByte()
Specified by:
getSearchByte in interface CommandCodes

toString

public java.lang.String toString()
Specified by:
toString in interface CommandCodes
Overrides:
toString in class java.lang.Object