Interface ContextSetting
public interface ContextSetting
Contains additional parameters for the management of context specific cases.
- Since:
- 0.4.0
-
Method Summary
Modifier and TypeMethodDescriptionsetContactReaderPayloadCapacity(int payloadCapacity) Defines the maximum size of APDUs payload (**Lc** field value) that the library can generate when communicating with a contact card.
-
Method Details
-
setContactReaderPayloadCapacity
Defines the maximum size of APDUs payload (**Lc** field value) that the library can generate when communicating with a contact card.As an example, here are the values to be set for communication with the SAM when used in HSP mode:
- SAM-C1 in HSP mode, set
payloadCapacityto 248. - SAM-E1 in HSP mode, set
payloadCapacityto 239.
- Parameters:
payloadCapacity- A positive integer lower than 255.- Returns:
- The current instance.
- Throws:
IllegalArgumentException- If payloadCapacity is out of range.- Since:
- 0.4.0
- SAM-C1 in HSP mode, set
-