|
pure virtual |
This method returns a pointer to the IO buffer component where the KMIP packet has been assembled.
A buffer is only available after a correct sequence of the above functions are called (e.g., startXXXXMsg(), addXXXX(), endXXXXMsg()).
pBuffer | [ out ] IO buffer where the packet has been constructed. |
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A call to initialize() has not been made. |
P6R::eInvalidArg | pBuffer is NULL | |
P6R::eInvalidState | Buffer was not created properly |