Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPClient3::createSecretDataAndGetObject ( P6KMIP_SERVERSECRETDATA  objParams,
P6KMIP_GETPARAMS  get,
P6KMIP_MANAGED pObject,
P6KMIP_RESULT pCreateResult,
P6KMIP_RESULT pGetResult 
)
pure virtual

Ask the KMIP server to create a secret data managed object with a set of attributes specified by the caller (a KMIP 1.4 function).

In the same call then get that new secret data object returned to the client for use.

Parameters
objParams[ in ] parameters required for the server to create a type of secret data object
get[ in ] the group of parameters specific to the get operation
pObject[ out ] P6KMIP_MANAGED containing a managed object returned by the server
pLocateResult[ out ] Server returned status of the create operation
pGetResult[ out ] Server returned status of the get operation
Returns
FailureP6R::eNotInitializedA successful call to initialize() is required.
P6R::eNotConnA successful call to open() is required before this function is called.
P6R::eInvalidArgOne of the pointers is NULL. If keyParams.pAttributes is NULL.
P6R::eFormatErrorParsing error occurred while parsing a KMIP server response.
P6R::eTooBigMessage returned by server is too big to fit in configured buffers.
P6R::eTooSmallThe configured buffer size in P6KMIP_PREF.maxBufferSize is too small to hold the request message.