Print the contents of the certificate in parsed form to a file.
This function can be used as a debugging aid or to archive a certificate in a human readable format.
- Parameters
-
| pCertFile | [ in ] Print formated contents of certificate to this file. |
- Returns
| Success | P6R::eOk | |
| Failure | P6R::eNotInitialized | A successful call to initialize was not made before this call. |
| P6R::eFormatError | Unable to read the certificate file. |
| P6R::eInvalidArg | pCertFile is NULL. |
| P6R::eIoError | Failed to open printToFile for write. |
| P6R::eNoMemoryr | Insufficient available memory to print certificate. |