Add the join split key batch item to the current request message.
A successful startRequestMsg function must be called first.
Join Split Key (Section 4.39 KMIP spec), this operation requests that the server creates a new managed object (e.g., a key) by combining its split parts together
- Parameters
-
objectType | [ in ] defines the type of the object to be created (see Section 9.1.3.2.12 in p6kmip.h, Object Type Enumeration) |
idCount | [ in ] the number of unique identifers in the pIdList |
pIdList | [ in ] a list of unique identifiers pointing to the split parts to be combined |
pSecretType | [ in ] optional can be NULL, if the objectType indicates secret data then setting this type can be used (see Section 9.1.3.2.9 in p6kmip.h) |
pAttributes | [ in ] optional can be NULL, used to define the attributes to be associated with the new managed object |
pExtension | [ in ] optional can be NULL, vendor defined extension to the operation |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eTooSmall | The configured buffer size in pPool is too small to hold the generated message. |
P6R::eInvalidState | A successful call to startRequestMsg() must be made before calling this function. |
P6R::eInvalidArg | idCount is zero, or pIdList is NULL. |
P6R::eRange | pExtension->encodedExtension.length must be a multiple of 8, since encoded as the Vendor Extension Structure |