9.13.3.4.79. Function Se05x_API_VerifySessionUserID¶
Defined in File se05x_APDU_apis.h
9.13.3.4.79.1. Function Documentation¶
-
smStatus_t
Se05x_API_VerifySessionUserID(pSe05xSession_t session_ctx, const uint8_t *userId, size_t userIdLen)¶ Se05x_API_VerifySessionUserID
Verifies the session user identifier (UserID) in order to allow setting up a session. If the UserID is correct, the session establishment is successful; otherwise the session cannot be opened (SW_CONDITIONS_NOT_SATISFIED is returned).
Command to Applet
Field
Value
Description
CLA
0x80
INS
INS_MGMT
See
SE05x_INS_tP1
P1_DEFAULT
See
SE05x_P1_tP2
P2_SESSION_USERID
See
SE05x_P2_tLc
#(Payload)
Payload length.
TLV[TAG_1]
UserID value
Le
R-APDU Body
NA
R-APDU Trailer
SW
Description
SW_NO_ERROR
The command is handled successfully.
- Parameters
[in] session_ctx: Session Context [0:kSE05x_pSession][in] userId: userId [1:kSE05x_TAG_1][in] userIdLen: Length of userId
