Open a temporary Credential Manager store.
#include <sys/credential/credential_store.h>
int credential_store_create_temporary(const credential_store_t *main_store,
credential_store_t **store)
BlackBerry 10.3.1
The store used when credential queries in the temporary store return no results. This is an optional argument and can be set to 0.
On return, a pointer to the store structure. You must call credential_store_close() to release this structure when you're done using it.
This function opens a temporary nested Credential Manager store, using the optional main_store as fallback.
0 if operation was successful, error code otherwise.