Smart card operations require a valid, initialized smart card context.
#include <smartcard/sc_smart_card.h>
typedef struct _sc_context_t sc_context_t;
BlackBerry 10.2.0
When the smart card context is no longer required, it should be destroyed.