Function

gss_wrap_size_limit

Returns the largest allowable wrap size for a given set of constraints.

Declaration

OM_uint32 gss_wrap_size_limit(OM_uint32 *minor_status, gss_ctx_id_t context_handle, int conf_req_flag, gss_qop_t qop_req, OM_uint32 req_output_size, OM_uint32 *max_input_size);

Parameters

minor_status

A pointer to the secondary status result that provides additional information in case of failure.

context_handle

The context used to transmit the data.

conf_req_flag

A flag that you set to a non-zero value to indicate that wrapping function will apply confidentiality in addition to integrity protection or zero if only integrity protection is required.

qop_req

The required quality of protection. See Object Identifiers for possible values.

req_output_size

The maximum allowable output token size from the gss_wrap function.

max_input_size

A pointer the function uses to return the maximum input size.

Return Value

A status code set to GSS_S_COMPLETE on success. See Function Status for a description of other status outputs.

See Also

Inquiry and Limits

gss_context_time

Returns the amount of time remaining before a context expires.

gss_inquire_context

Returns information about a security context.

gss_inquire_sec_context_by_oid

Returns information about a particular part of a context.