Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPRequest::addJoinSplitKeyRequest ( P6UINT32  objectType,
P6UINT32  idCount,
P6NCSTR pIdList,
P6UINT32 pSecretType,
P6KMIP_TEMPLATEATTRIBUTE pAttributes,
P6KMIP_MSGEXTENSION pExtension 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eTooSmallThe configured buffer size in pPool is too small to hold the generated message.
P6R::eInvalidStateA successful call to startRequestMsg() must be made before calling this function.
P6R::eInvalidArgidCount is zero, or pIdList is NULL.
P6R::eRangepExtension->encodedExtension.length must be a multiple of 8, since encoded as the Vendor Extension Structure