Creates a DOFCredentials object from a properly formatted byte array.
- Parameters
-
| size | The byte length of the buffer. |
| buffer | The buffer containing the credentials. Should not be NULL. |
- Returns
- DOFCredentials The credentials represented by the bytes in the buffer.
- Exceptions
-
| NULL | will 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