sc_key_store_data_get_crypto_token()

Retrieve the crypto token that is associated with a key store data instance.

Synopsis:

#include <smartcard/sc_key_store_data.h>
 
sc_response_code_t sc_key_store_data_get_crypto_token(const sc_key_store_data_t *key_store_data,                 
                                                      const sc_crypto_token_t **crypto_token)

Since:

BlackBerry 10.2.0

Arguments:

key_store_data

The key store data instance from which to retrieve the associated crypto token. This value cannot be NULL.

crypto_token

The crypto token associated with this key store data instance. This value cannot be NULL.

Library:

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

Description:

Returns:

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