This function allows the caller to change the KMIP protocol version in use.
A client can start communicating with a KMIP server at a default version level then perform a discoverVersion() API call to see what versions the server actually supports. Then using this function change the protocol version based on that discovery.
- Parameters
-
pVersion | [ in ] A simple string of the form: "1.0", "1.1", "1.2", "1.3", "1.4" |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to initialize() is required. |
P6R::eInvalidArg | One of the pointers is NULL. |