com.ibm.opencard.service
Class MFC41Codes
java.lang.Object
|
+--com.ibm.opencard.service.MFC35Codes
|
+--com.ibm.opencard.service.MFC41Codes
- public class MFC41Codes
- extends MFC35Codes
- implements MFCCodes
CLAss and INStruction codes for MFC 4.1 smartcards.
This class implements exactly the interface MFCCodes.
The methods are trivial and therefore not commented.
The base class already defines codes for MFC 3.5 and 4.0
smartcards, only the differences to MFC 4.1 cards can
be found here.
- Version:
- $Id: MFC41Codes.java,v 1.1 1999/12/02 16:06:07 damke Exp $
- See Also:
MFCCodes,
MFC35Codes
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MFC41Codes
public MFC41Codes()
getBlockSize
public int getBlockSize()
- Return the block size for data transfer.
The block size depends on whether secure messaging is used or not.
If secure messaging is used, it is larger. The current structure
of the MFC card services does not support this distinction, so the
minimum of both block sizes is returned.
- Specified by:
- getBlockSize in interface MFCCodes
- Returns:
- the block size to use for data transfers
- Overrides:
- getBlockSize in class MFC35Codes
needsZeroLc
public boolean needsZeroLc()
- Specified by:
- needsZeroLc in interface MFCCodes
- Overrides:
- needsZeroLc in class MFC35Codes
needsZeroLe
public boolean needsZeroLe()
- Specified by:
- needsZeroLe in interface MFCCodes
- Overrides:
- needsZeroLe in class MFC35Codes
getISOClassByte
public byte getISOClassByte()
- Specified by:
- getISOClassByte in interface MFCCodes
- Overrides:
- getISOClassByte in class MFC35Codes
getClassByte
public byte getClassByte()
- Specified by:
- getClassByte in interface MFCCodes
- Overrides:
- getClassByte in class MFC35Codes
getAppendRecordByte
public byte getAppendRecordByte()
|