Finish the encoding of a KMIP response message.
A successful startResponseMessage and at least one of the add calls must be called first.
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eTooSmall | The configured buffer size in pPool is too small to hold the generated message. |
P6R::eInvalidState | A successful call to startResponseMsg() must be made before calling this function. |
P6R::eFormatError | One or more calls to an addXXXResponse function (e.g., addCreateResponse) must be made before calling this function. |