11.12.3.4.90. Function Se05x_API_ExchangeSessionData

11.12.3.4.90.1. Function Documentation

smStatus_t Se05x_API_ExchangeSessionData(pSe05xSession_t session_ctx, pSe05xPolicy_t policy)

Se05x_API_ExchangeSessionData

Sets session policies for the current session.

Command to Applet

Field

Value

Description

CLA

0x80 or 0x84

INS

INS_MGMT

See SE05x_INS_t

P1

P1_DEFAULT

See SE05x_P1_t

P2

P2_SESSION_POLICY

See P2

Lc

#(Payload)

Payload length.

Payload

TLV[TAG_1]

Session policies

C-MAC

If applicable

Le

0x00

R-APDU Body

Value

Description

R-MAC

Optional, depending on established security level

SW

Description

SW_NO_ERROR

The command is handled successfully.

SW_CONDITIONS_NOT_SATISFIED

Invalid policies

Parameters
  • [in] session_ctx: Session Context [0:kSE05x_pSession]

  • [in] policy: Check pdf [1:kSE05x_TAG_1]