Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPClient3::getClientCredentials ( P6KMIP_CREDENTIAL pOneTime,
p6IKeystore pKeystore,
P6KMIP_MANAGED pPublic 
)
pure virtual

Given a one time user name and password the server will return the clients TLS credentials to fully accesses the KMIP server.

The server returns to this request: client public key, client private keys, client side certificate, and server side certificates. This feature was added to KMIP version 1.3.

Parameters
pOneTime[ in ] Containts a one time user name and password credential given out of band to this client. Provides enough information to the server so it can return the required client credentials for a TLS connection using server and client authentication.
pKeystore[ in ] optional can be NULL, place the client's side private key, client's side certificate, and the server side credentials in the provided keystore. If NULL, then all the credentials are placed in the keystore passed in the initialize() call by default.
pPublic[ in ] optional can be NULL, if the caller wants to save the returned public key. The KMIP client does not store or use this for the TLS connection.
Returns
FailureP6R::eNotInitializedA successful call to initialize() is required.
P6R::eInvalidArgOne of the pointers is NULL
P6R::eInvalidVersionKMIP server does not support the version selected in initialize().
P6R::eFormatErrorParsing error occurred while parsing a KMIP server response.