sc_crypto_token_create()

Create an instance of an sc_crypto_token_t.

Synopsis:

#include <smartcard/sc_crypto_token.h>
 
sc_response_code_t sc_crypto_token_create(sc_crypto_token_t **crypto_token)

Since:

BlackBerry 10.2.0

Arguments:

crypto_token

The created crypto token instance. This value cannot be NULL.

Library:

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

Description:

To destroy the instance, call sc_crypto_token_destroy().

Returns:

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