OpenDOF Project
DOFCredentials DOFCredentialsPassword_Create ( const DOFObjectIDDomain  domainID,
const DOFObjectIDAuthentication  identity,
const char *  password 
)

Creates new credentials that use a password as the secret.

Parameters
domainIDThe domain in which the identity exists. If unknown, use DOFOBJECTIDDOMAIN_BROADCAST. This should not be NULL.
identityThe object ID representing the authentication identity. This should not be NULL.
passwordA NULL-terminated password string to be used as the identity's authentication secret. This should not be NULL.
Returns
A newly created DOFCredentials
Exceptions
NULLis returned if an invalid parameter was detected, or the credentials could not be created.
Resource Management:
This function allocates resources that must later be freed by calling DOFCredentials_Destroy.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22