Function

gss_context_time

Returns the amount of time remaining before a context expires.

Declaration

OM_uint32 gss_context_time(OM_uint32 *minor_status, gss_ctx_id_t context_handle, OM_uint32 *time_rec);

Parameters

minor_status

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

context_handle

The context to examine.

time_rec

A pointer the function uses to return the number of seconds for which the context is valid. Returns 0 if the context is already expired.

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_inquire_context

Returns information about a security context.

gss_inquire_sec_context_by_oid

Returns information about a particular part of a context.

gss_wrap_size_limit

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