OpenDOF Project
uint8* DOFCredentials_CreateBytes ( DOFCredentials  self)

Creates a byte array for the given DOFCredentials that can be used to recreate it at a later time.

Note
This data must be kept private, as it contains secret data associated with the credential. It must be protected just as the secrets themselves. It must never be passed in the clear or made public.
Parameters
selfThe credentials to create the bytes from. This should not be NULL.
Returns
uint8* The byte array for the credentials.
Exceptions
NULLwill be returned if the bytes could not be created.
Resource Management:
This function allocates resources that must later be freed by calling PCRMem_Free.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22