Client and Server Correlation Values where added in KMIP 1.4 to assist in processing logs and to help deterime what may have happened to a client request.
Both correlation values will appear in the KMIP logs, but if an application needs to pull the server generated correlation value out of a message (if one is prsent) then this function can be used.
This function must be called only after one of the other functions above are called which perform a specific operation.
- Parameters
-
pCorrelation | [ in ] the calling function returns an enumerator that holds the Server Correlation Value |
- Returns
Failure | P6R::eNotInitialized | A successful call to initialize() is required. |
P6R::eInvalidState | A successful call to one of the operations is required before this function is called. |
P6R::eNotFound | There is no server correlation value in the last received message. |
P6R::eInvalidArg | pCorrelation is NULL. |
P6R::eFormatError | Parsing error occurred while parsing a KMIP server response. |