Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPClient3::setProtocolVersion ( const P6CHAR pVersion)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize() is required.
P6R::eInvalidArgOne of the pointers is NULL.