Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPResponse::endResponseMsg ( void  )
pure virtual

Finish the encoding of a KMIP response message.

A successful startResponseMessage and at least one of the add calls must be called first.

Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eTooSmallThe configured buffer size in pPool is too small to hold the generated message.
P6R::eInvalidStateA successful call to startResponseMsg() must be made before calling this function.
P6R::eFormatErrorOne or more calls to an addXXXResponse function (e.g., addCreateResponse) must be made before calling this function.