11.12.3.1.30. Struct SE_Connect_Ctx_t

11.12.3.1.30.1. Struct Documentation

struct SE_Connect_Ctx_t

When connecting to a secure element,

Extension of sss_connect_ctx_t

Public Members

SE_AuthCtx_t auth

If we need to authenticate, add required objects for authentication

SSS_Conn_Type_t connType

How exactly are we going to connect physically

U32 i2cAddress

12C address on embedded devices.

const char *portName

Connection port name for Socket names, etc.

uint8_t refresh_session

If we need to refresh session, SE050 specific

sss_policy_session_u *session_policy

If some policy restrictions apply when we connect, point it here

uint8_t sessionResume

Set to 1 if we should resume a session already open with SE

uint16_t sizeOfStucture

to support binary compatibility/check, sizeOfStucture helps

uint8_t skip_select_applet

In the case of Key Rotation, and other use cases where we do not select the IoT Applet and skip the selection of the IoT Applet.

One of the use cases is to do platform SCP key rotation.

When set to 0: Do not skip IoT Applet selection and run as-is.

When set to 1: Skip selection of card manager. Skip selection of Applet.

Internally, if there is platform SCP selected as Auth mechanism during compile time, the internal logic would Select the card manager. But, skip selection of the Applet.

sss_tunnel_t *tunnelCtx

If we connect logically, via some software layer