credential_query_create_from_auth_scope()

Create a credential query from authentication scope.

Synopsis:

#include <sys/credential/credential_auth.h>
 
int credential_query_create_from_auth_scope(const credential_auth_scope_t *auth_scope,
                                            credential_query_t **query)

Since:

BlackBerry 10.3.1

Arguments:

auth_scope

The authentication scope of interest.

query

The credential query that can be used to lookup credentials based on given authentication scope. You must call credential_query_release() 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:

Create a credential query that matches all credentials that are suitable for given authentication scope.

Returns:

0 if operation was successful, error code otherwise.