Query the KMIP server as to what protocol versions it supports.
This function was add as part of KMIP 1.1. If an error is returned by the server any Result Message string (Section 6.11 KMIP spec) is placed in the log rather than returned as a result parameter.
- Parameters
-
bClientVersions | [ in ] If true, then send to the KMIP server what versions this client supports. |
pExtension | [ in ] optional can be NULL, vendor defined extension to the operation |
ppVersions | [ out ] An enumerator returning all the Protocol Versions returned by the server |
pResult | [ out ] Server returned status indicators |
- Returns
Failure | P6R::eNotInitialized | A successful call to initialize() is required. |
P6R::eNotConn | A successful call to open() is required before this function is called. |
P6R::eInvalidArg | One of the pointers is NULL. |
P6R::eFormatError | Parsing error occurred while parsing a KMIP server response. |
P6R::eTooBig | Message returned by server is too big to fit in configured buffers. |
P6R::eTooSmall | The configured buffer size in P6KMIP_PREF.maxBufferSize is too small to hold the request message. |