Create an credential from its handle representation.
#include <sys/credential/credential_store.h>
int credential_from_handle(const unsigned char *handle,
size_t handle_sz,
credential_t **cred)
BlackBerry 10.3.1
A pointer to buffer that contains credential handle.
The size (in bytes) of the handle buffer.
The credential that corresponds to the given handle. You must call credential_release() to release this structure when you're done using it.
This function allocates a new credential_t structure, and initializes it represent the same credential as the handle.
0 if operation was successful, error code otherwise.