11.12.3.4.117. Function Se05x_API_ReadType

11.12.3.4.117.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_t

P1

P1_DEFAULT

See SE05x_P1_t

P2

P2_TYPE

See SE05x_P2_t

Lc

#(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_t

TLV[TAG_2]

TransientIndicatorRef

R-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 id

  • ptype: The ptype

  • pisTransient: The pis transient

  • [in] attestation_type: The attestation type