Package uicc.usim.suci
Interface SUCICalculator
- All Superinterfaces:
javacard.framework.Shareable
public interface SUCICalculator
extends javacard.framework.Shareable
An object that implements this interface provides callbacks for an applet to
be able to provide the SUCI to the USIM.
-
Method Summary
Modifier and TypeMethodDescriptionshortgetSUCI(byte[] buffer, short bOffset, short bLength) This method is called by the USIM upon reception of a GET IDENTITY APDU Command in SUCI context sent by the terminal.
-
Method Details
-
getSUCI
short getSUCI(byte[] buffer, short bOffset, short bLength) This method is called by the USIM upon reception of a GET IDENTITY APDU Command in SUCI context sent by the terminal. The returned value shall be stored in the provided Global Array buffer and contain the SUCI TLV data object tag, length and value.- Parameters:
buffer- provided Global Array to store the SUCI.bOffset- offset in the buffer indicating the start of the SUCI.bLength- maximum length of the SUCI to be stored into the buffer.- Returns:
- short size of the data stored in the buffer.
-