Writes error information structured by the class implementation to the plaintext memory.
- Parameters
-
pBuffer | is a pointer to the output memory where the plaintext is to be written. To determine the required size of the output the caller may (or may not) previously call the method passing NULL as an output pointer and zero as an input value of the *pcbBuffer. In this case the function should write the required size of the output buffer, in bytes, to the *pcbBuffer on output for the caller to allocate the output buffer. |
pcbBuffer | is a pointer to a size_t variable holding the size of the pBuffer on input and an amount of written data on output. If pBuffer is NULL the pointer should receive the required size of the output buffer buffer to hold the error information as a plaintext. |