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
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pValidation is NULL |
P6R::eTooSmall | One or more of the text fields in pValidation is too small. |