Initialize a smart card in preparation to perform signing operations with the specified cryptographic system and key.
#include <smartcard/sc_smart_card.h>
sc_response_code_t sc_sign_init(sc_context_t *context,
const sc_crypto_system_t *crypto_system,
const sc_crypto_token_t *key)
BlackBerry 10.2.0
The active smart card context. This value cannot be NULL.
The cryptographic system to use for the signing operation.
A cryptographic token the describes the key to use for the signing operation.
A handle of type SC_HANDLE_CARD_CRYPTO_PROVIDER_X must be allocated before calling this function, otherwise an error is returned.
SC_SCARD_S_SUCCESS upon success, an error code otherwise. See sc_response_code_t for defined error codes.