credential_store_create_temporary()

Open a temporary Credential Manager store.

Synopsis:

#include <sys/credential/credential_store.h>
 
int credential_store_create_temporary(const credential_store_t *main_store,
                                      credential_store_t **store)

Since:

BlackBerry 10.3.1

Arguments:

main_store

The store used when credential queries in the temporary store return no results. This is an optional argument and can be set to 0.

store

On return, a pointer to the store structure. You must call credential_store_close() to release this structure when you're done using it.

Library:

libcredential (For the qcc command, use the -l bps option to link against this library)

Description:

This function opens a temporary nested Credential Manager store, using the optional main_store as fallback.

Returns:

0 if operation was successful, error code otherwise.