sc_smart_card_id_equal()

Compare two smart card identifier instances to determine if they are equal.

Synopsis:

#include <smartcard/sc_smart_card_id.h>
 
sc_response_code_t sc_smart_card_id_equal(const sc_smart_card_id_t *smart_card_id1,                 
                                          const sc_smart_card_id_t *smart_card_id2,                 
                                          bool *result)

Since:

BlackBerry 10.2.0

Arguments:

smart_card_id1

The first smart card identifier involved in the comparison.

smart_card_id2

The second smart card identifier involved in the comparison.

result

A non-zero value is written to this parameter if the instances are equal.

Library:

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

Description:

If both smart_card_id1 and smart_card_id2 are NULL, then they are considered equal.

Returns:

SC_SCARD_S_SUCCESS upon success, an error code otherwise. See sc_response_code_t for error code definitions.