Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPValInfo::next ( P6KMIP_VALIDATION pValidation)
pure virtual

Get the next returned server supported validation definition.

Note that if eTooSmall is returned then the required size is returned in all text string fields of the P6KMIP_VALIDATION structure (e.g., the pValidation->authorityCountry.length field which indicate the size of the buffer the caller must provide). Also if eTooSmall is returned the enumerator has not moved to the next entry so the caller can obtain the proper sized buffer and extract the entry that failed.

Parameters
pValidation[ out ] Pointer to a structure where the Validation Information is returned. If any text field is set to NULL then the required length is returned for all text fields in the P6KMIP_VALIDATION structure.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpValidation is NULL
P6R::eTooSmallOne or more of the text fields in pValidation is too small.