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).
For example, a client could as the KMIP server to generate a password.
- Parameters
-
objParams | [ in ] parameters required for the server to create a type of secret data object |
pCreate | [ out ] P6KMIP_NEWOBJECT containing a new unique identifier of the newly created secret data object and any new attributes that the server wants to return |
pResult | [ out ] Server returned status indicators |
- Returns
Failure | P6R::eNotInitialized | A successful call to initialize() is required. |
P6R::eNotConn | A successful call to open() is required before this function is called. |
P6R::eInvalidArg | One of the pointers is NULL. If keyParams.pAttributes is NULL. |
P6R::eFormatError | Parsing error occurred while parsing a KMIP server response. |
P6R::eTooBig | Message returned by server is too big to fit in configured buffers. |
P6R::eTooSmall | The configured buffer size in P6KMIP_PREF.maxBufferSize is too small to hold the request message. |