Set DER-encoded certificate data.
#include <smartcard/sc_certificate.h>
sc_response_code_t sc_certificate_set_data(sc_certificate_t *certificate,
const unsigned char *data,
size_t data_length)
BlackBerry 10.2.0
The certificate instance. This value cannot be NULL.
The buffer containing the raw DER certificate data to be set. If data is NULL, then the currently stored certificate data is cleared.
The length of the data buffer. If the length is zero, then the currently stored certificate data is cleared.
SC_SCARD_S_SUCCESS upon success, an error code otherwise. See sc_response_code_t for defined error codes.