sc_key_store_data_deserialize()

Deserialize the provided data and populates the provided key store data instance with the data from the provided serialized buffer.

Synopsis:

#include <smartcard/sc_key_store_data.h>
 
sc_response_code_t sc_key_store_data_deserialize(sc_key_store_data_t *key_store_data,                 
                                                 const unsigned char *buffer,                 
                                                 size_t buffer_length)

Since:

BlackBerry 10.2.0

Arguments:

key_store_data

The key store data instance. This value cannot be NULL.

buffer

The buffer that contains the serialized data. Must not be NULL.

buffer_length

The length of buffer.

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.