11.12.3.4.162. Function sems_lite_get_SEPkgInfo

11.12.3.4.162.1. Function Documentation

sss_status_t sems_lite_get_SEPkgInfo(sems_lite_agent_ctx_t *pContext, const uint8_t *searchAID, uint8_t searchAidLen, sems_lite_SEAppInfoList_t *pAppInfo, size_t *pAppInfoLen)

Low level API to get PKG INFO from the SE according to format mentioned in - Table 11-36: GlobalPlatform Registry Data (TLV), GPCardSpc_v2.2.pdf.

This API will read the currently present Applications ELF/ELM AIDs and versions as well as the present instances from the SE.

Return

Status of the operation

Parameters
  • pContext: Pointer to sems lite agent context.

  • [in] searchAID: The search aid

  • [in] searchAidLen: The search aid length

  • pAppInfo: Parsed structures

  • [inout] pAppInfoLen: Length of parsed structures.

Return Value