Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPClient::revokeAndDestroyObject ( P6NCSTR  uniqueId,
P6KMIP_REVOCATION  reason,
P6TIME pOccurenceDate,
P6KMIP_MSGEXTENSION pExtension,
p6IKMIPStr **  ppUniqueId,
P6KMIP_RESULT pResult 
)
pure virtual

First revoke and then destroy the managed object identified by the uniqueId parameter.

Parameters
uniqueId[ in ] optional uniqueIdentifier.pString can be NULL, the managed object to change the state. If NULL the server determines the object to query.
reason[ in ] reason for revocation, see P6KMIP_REVOCATION structure definition
pOccurenceDate[ in ] optional can be NULL, Compromise Occurrence Date, if the reason is "compromised"
pExtension[ in ] optional can be NULL, vendor defined extension to the operation
ppUniqueId[ out ] An enumerator returning the unique identifier of the changed managed object
pResult[ out ] Server returned status indicators
Returns
FailureP6R::eNotInitializedA successful call to initialize() is required.
P6R::eNotConnA successful call to open() is required before this function is called.
P6R::eInvalidArgOne of the pointers 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.