Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPEncoder::getBufPtr ( p6IIoBuffer **  pBuffer)
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()).

Parameters
pBuffer[ out ] IO buffer where the packet has been constructed.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA call to initialize() has not been made.
P6R::eInvalidArgpBuffer is NULL
P6R::eInvalidStateBuffer was not created properly