Deprecated repository containing the old Java code of CNA Terminal Calypso Card API → replaced by https://github.com/eclipse-keypop/keypop-calypso-card-java-api/
CalypsoCardSelection.prepareReadRecordFile(byte sfi, int recordNumber):
Indicate that the method does not generate an error if the recordNumber does not exist.
CardTransactionManager.prepareReadRecordFile(byte sfi, int recordNumber):
Indicate that the method does not generate an error if the recordNumber does not exist.
Indicate that this method must not be used in a secure session while in contact mode (use the other method for this case by providing correct parameters).
CardTransactionManager.prepareReadRecordFile(byte sfi, int firstRecordNumber, int numberOfRecords, int recordSize):
Indicate that the method does not generate an error if the numberOfRecords or the recordSize are incorrect.
Indicate that this method must be used with correct parameters in a secure session, otherwise the session will fail when closed.
To keep the API design homogeneous, it is also necessary to modify the signature of all methods that can throw a NoSuchElementException so that they return a null value, empty list, empty map, etc... This will not have a major impact on the version because the behavior of the read methods is more tolerant than before.
CalypsoCardSelection.prepareReadRecordFile(byte sfi, int recordNumber)
:recordNumber
does not exist.CardTransactionManager.prepareReadRecordFile(byte sfi, int recordNumber)
:recordNumber
does not exist.CardTransactionManager.prepareReadRecordFile(byte sfi, int firstRecordNumber, int numberOfRecords, int recordSize)
:numberOfRecords
or therecordSize
are incorrect.To keep the API design homogeneous, it is also necessary to modify the signature of all methods that can throw a
NoSuchElementException
so that they return a null value, empty list, empty map, etc... This will not have a major impact on the version because the behavior of the read methods is more tolerant than before.