9.13.3.4.65. Function Se05x_API_ReadType¶
Defined in File se05x_APDU_apis.h
9.13.3.4.65.1. Function Documentation¶
-
smStatus_t
Se05x_API_ReadType(pSe05xSession_t session_ctx, uint32_t objectID, SE05x_SecureObjectType_t *ptype, uint8_t *pisTransient, const SE05x_AttestationType_t attestation_type)¶ Se05x_API_ReadType
Get the type of a Secure Object.
Command to Applet
Field
Value
Description
CLA
0x80
INS
INS_READ
See
SE05x_INS_tP1
P1_DEFAULT
See
SE05x_P1_tP2
P2_TYPE
See
SE05x_P2_tLc
#(Payload)
TLV[TAG_1]
4-byte object identifier.
Le
0x00
R-APDU Body
Value
Description
TLV[TAG_1]
Type of the Secure Object: one of
SE05x_SecObjTyp_tTLV[TAG_2]
TransientIndicatorRefR-APDU Trailer
SW
Description
SW_NO_ERROR
Data is returned successfully.
- Return
The sm status.
- Parameters
[in] session_ctx: The session context[in] objectID: The object idptype: The ptypepisTransient: The pis transient[in] attestation_type: The attestation type
