Retrieve the concrete credential type.
#include <sys/credential/credential_store.h>
int credential_get_type(const credential_t *cred,
credential_type_t *type)
BlackBerry 10.3.1
The credential from which to retrieve the type.
The concrete type for given credential.
This function returns the type of given credential.
0 if operation was successful, error code otherwise.