11.12.3.4.68. Function Se05x_API_DeleteCryptoObject

11.12.3.4.68.1. Function Documentation

smStatus_t Se05x_API_DeleteCryptoObject(pSe05xSession_t session_ctx, SE05x_CryptoObjectID_t cryptoObjectID)

Se05x_API_DeleteCryptoObject

Deletes a Crypto Object on the SE05X .

Note: when a Crypto Object is deleted, the memory (as mentioned in ) is de- allocated, but the transient memory is only freed when de-selecting the applet!

Command to Applet

Field

Value

Description

CLA

0x80

INS

INS_MGMT

See SE05x_INS_t

P1

P1_CRYPTO_OBJ

See SE05x_P1_t

P2

P2_DELETE_OBJECT

See SE05x_P2_t

Lc

#(Payload)

Payload length

Payload

TLV[TAG_1]

2-byte Crypto Object identifier

R-APDU Body

NA

R-APDU Trailer

SW

Description

SW_NO_ERROR

The file is created or updated successfully.

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

  • [in] cryptoObjectID: cryptoObjectID [1:kSE05x_TAG_1]