credential_get_type()

Retrieve the concrete credential type.

Synopsis:

#include <sys/credential/credential_store.h>
 
int credential_get_type(const credential_t *cred,
                        credential_type_t *type)

Since:

BlackBerry 10.3.1

Arguments:

cred

The credential from which to retrieve the type.

type

The concrete type for given credential.

Library:

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

Description:

This function returns the type of given credential.

Returns:

0 if operation was successful, error code otherwise.