credential_set_mgmt_policy()

Update the management policy of a given credential.

Synopsis:

#include <sys/credential/credential_policy.h>
 
int credential_set_mgmt_policy(credential_t *cred,
                               credential_mgmt_policy_mask_t policy)

Since:

BlackBerry 10.3.1

Arguments:

cred

The credential to update.

policy

The new management policy flags.

Library:

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

Description:

For example, you can specify that a specific credential cannot be exported.

Returns:

0 if operation was successful, error code otherwise.