sc_crypto_system_create()

Create an instance of an sc_crypto_system_t.

Synopsis:

#include <smartcard/sc_crypto_system.h>
 
sc_response_code_t sc_crypto_system_create(sc_crypto_system_t **crypto_system)

Since:

BlackBerry 10.2.0

Arguments:

crypto_system

The created crypto system 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, use the sc_crypto_system_destroy() function.

Returns:

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