9.13.3.4.40. Function Se05x_API_GetECCurveId¶
Defined in File se05x_APDU_apis.h
9.13.3.4.40.1. Function Documentation¶
-
smStatus_t
Se05x_API_GetECCurveId(pSe05xSession_t session_ctx, uint32_t objectID, uint8_t *pcurveId)¶ Se05x_API_GetECCurveId
Get the curve associated with an EC key.
Command to Applet
Field
Value
Description
CLA
0x80
INS
INS_READ
See
SE05x_INS_tP1
P1_CURVE
See
SE05x_P1_tP2
P2_ID
See
SE05x_P2_tLc
#(Payload)
Payload
TLV[TAG_1]
4-byte identifier
Le
0x00
R-APDU Body
Value
Description
TLV[TAG_1]
1-byte curve identifier (from
SE05x_ECCurve_t)R-APDU Trailer
SW
Description
SW_NO_ERROR
Data is returned successfully.
- Parameters
[in] session_ctx: Session Context [0:kSE05x_pSession][in] objectID: object id [1:kSE05x_TAG_1][out] pcurveId: [0:kSE05x_TAG_1]
