nfc_se_unregister_aid()

Deregister an application ID (AID) from the secure element associated with the session provided.

Synopsis:

#include <nfc/nfc_se_access.h>
 
NFC_API nfc_result_t nfc_se_unregister_aid(uint32_t hSESession, const uint8_t *aid, size_t aid_len)

Since:

BlackBerry 10.3.0

Arguments:

hSESession

The handle to the open session.

aid

Pointer to the buffer containing the AID.

aid_len

Length of the AID.

Library:

libnfc (For the qcc command, use the -l nfc option to link against this library)

Description:

Use this function to deregister an application ID (AID) from the secure element associated with the session. Note that calling this function does not remove the secure element's ability to handle the AID. It simply removes the specified AID from AID management (such as resolving AID conflicts and setting correct defaults) by the NFC service.

Feature set 1 doesn't support this function. When called in feature set 1, the function returns NFC_RESULT_UNSUPPORTED_API.

Returns:

NFC_RESULT_SUCCESS if the AID is deregistered successfully, or one of the following: