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
-
self | The credentials to create the bytes from. This should not be NULL. |
- Returns
- uint8* The byte array for the credentials.
- Exceptions
-
NULL | will be returned if the bytes could not be created. |
- Resource Management:
- This function allocates resources that must later be freed by calling PCRMem_Free.