OpenDOF Project
DOFCredentials DOFCredentials_Create_Bytes ( uint32  size,
const uint8 buffer 
)

Creates a DOFCredentials object from a properly formatted byte array.

Parameters
sizeThe byte length of the buffer.
bufferThe buffer containing the credentials. Should not be NULL.
Returns
DOFCredentials The credentials represented by the bytes in the buffer.
Exceptions
NULLwill be returned if the credentials could not be created, or the size doesn't match the exact credentials length.
Resource Management:
This function allocates resources that must later be freed by calling DOFCredentials_Destroy.
See Also
DOFCredentials_CreateBytes
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22