Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPClient::registerSecretDataObject ( P6KMIP_SECRETPARAMS  secret,
P6KMIP_NEWOBJECT pRegResult,
P6KMIP_RESULT pResult 
)
pure virtual

Register a secret data managed object with the connected KMIP server.

The orgin of the secret data comes from the calling application. The secret data can be wrapped or in the clear.

Parameters
secret[ in ] the group of parameters specific to the register secret data operation
pRegResult[ out ] P6KMIP_NEWOBJECT containing a new unique identifier of the registered object and any new attributes that the server wants to return
pResult[ out ] Server returned status indicators
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this function.
P6R::eNotConnA successful call to open() is required before this function is called.
P6R::eInvalidArgOne of the required key values is set to zero, or pReqResult, pResult 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.