sc_key_store_data_get_certificate()

Retrieve the certificate associated with this key store data instance.

Synopsis:

#include <smartcard/sc_key_store_data.h>
 
sc_response_code_t sc_key_store_data_get_certificate(const sc_key_store_data_t *key_store_data,                 
                                                     const sc_certificate_t **certificate)

Since:

BlackBerry 10.2.0

Arguments:

key_store_data

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

certificate

The certificate 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.