|
pure virtual |
Request the server to calculate a hash over data passed in the data parameter with a selected key (a KMIP 1.2 function).
cParams | [ in ] define hashing algorithm to be used |
data | [ in ] generate a hash with this data as input |
pExtension | [ in ] optional can be NULL, vendor defined extension to the operation |
pHash | [ out ] the calculated hash value (as a byte string) |
pResult | [ out ] Server returned status indicators |
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 | data.pString, pHash, or pResult 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. |