credential_query_result_get_iterator()

Retrieve an iterator for credentials in query result.

Synopsis:

#include <sys/credential/credential_store.h>
 
int credential_query_result_get_iterator(const credential_query_result_t *result,
                                         credential_iterator_t **credIter)

Since:

BlackBerry 10.3.1

Arguments:

result

The credential query result.

credIter

On return, a pointer to iterator for query results. You must call credential_iterator_release() to release the credential structure passed as arguments to the callback. 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 extracts the returned credentials from the query result and stores them in a newly allocated credential_iterator_t stucture.

Returns:

0 if operation was successful, error code otherwise.