3.1.5.8.2 GSS_Exchange_meta_data
The GSS_Exchange_meta_data function is used to provide the metadata to each security mechanism. The major_status codes are specified in [RFC2743].<7>
GSS_Exchange_meta_data
Inputs:
input_context_handle CONTEXT HANDLE
cred_handle CREDENTIAL HANDLE, optional
targ_name INTERNAL NAME, optional
deleg_req_flag BOOLEAN,
mutual_req_flag BOOLEAN,
replay_det_req_flag BOOLEAN,
sequence_req_flag BOOLEAN,
conf_req_flag BOOLEAN,
integ_req_flag BOOLEAN,
metadata OCTET STRING
Outputs:
output_context_handle CONTEXT HANDLE
Return major_status codes:
GSS_S_COMPLETE indicates that the metadata was provided to the security mechanism.
GSS_S_NO_CONTEXT indicates that no valid context was recognized for the input context_handle that was provided. Return values other than major_status and minor_status are undefined.
GSS_S_NO_CRED indicates that the metadata passed requested credentials that are not available via this credential handle.
GSS_S_UNAVAILABLE indicates that the security mechanism does not support this operation.
GSS_S_FAILURE indicates that the requested operation failed for reasons unspecified at the GSS-API level. Return values other than major_status and minor_status are undefined.