Import the X.509 certificate to the smart card for the specified key.
#include <smartcard_spi/SmartCardCryptoProvider.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardCryptoProvider::importCertificate(const unsigned char *certificate, unsigned int certificateLength, sc_key_store_data_t *keyStoreData)
BlackBerry 10.3.1
The certificate to import. The certificate should be DER-encoded in X.509 format. Must not be NULL.
The certificate length.
The instance of the key store data that identifies the key slot where the certificate should be imported. The key store data instance may be modified so it contains the correct key reference. In particular, the certificate data in the instance may be updated. Must not be NULL.
If the method succeeds, SC_SCARD_S_SUCCESS is returned. If the method fails, an error code is returned.