gss_context_time -- Check how much
longer context is valid

C Prototype

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

minor_status (output) | | An implementation-specific
status code. |
| context_handle (input) | | Identifies the context to
be interrogated. |
| time_rec (output) | | The number of seconds that
the context will remain valid. If the context has already expired,
zero will be returned. |
Description

Determines the number of seconds for which the specified context
will remain valid.
Return
Values

This routine returns one of the following GSS status codes:
GSS_S_COMPLETE
|
Successful completion.
|
GSS_S_CONTEXT_EXPIRED
|
The context has already expired.
|
GSS_S_NO_CONTEXT
|
The context_handle argument
did not identify a valid context.
|