11.12.3.4.61. Function Se05x_API_CloseSession

11.12.3.4.61.1. Function Documentation

smStatus_t Se05x_API_CloseSession(pSe05xSession_t session_ctx)

Se05x_API_CloseSession

Closes a running session.

When a session is closed, it cannot be reopened.

All session parameters are transient.

Command to Applet

Field

Value

Description

CLA

0x80

INS

INS_MGMT

See SE05x_INS_t

P1

P1_DEFAULT

See SE05x_P1_t

P2

P2_SESSION_CLOSE

See SE05x_P2_t

R-APDU Body

NA

R-APDU Trailer

SW

Description

SW_NO_ERROR

The session is closed successfully.

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