NAME
gss_context_time() — check the number of seconds the context will remain valid
SYNOPSIS
#include <gssapi.h>
OM_uint32 gss_context_time (
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
OM_int32 *time_rec)
DESCRIPTION
The
gss_context_time()
routine checks the number of seconds for which the context will remain valid.
Input Parameters
- context_handle
Specifies the context to be checked.
Output Parameters
- time_rec
Returns the number of seconds that the context will remain valid.
Returns a 0 (zero) if the context has already expired.
- minor_status
Returns a status code from the security mechanism.
STATUS CODES
The following status codes can be returned:
- GSS_S_COMPLETE
The routine was completed successfully.
- GSS_S_CONTEXT_EXPIRED
The context has already expired.
- GSS_S_NO_CONTEXT
The context identified in the
context_handle
parameter was not valid.
- GSS_S_FAILURE
The routine failed. See the
minor_status
parameter return value for more information.
AUTHOR
gss_context_time()
was developed by Sun Microsystems, Inc.
SEE ALSO
The manpages for DCE-GSSAPI are included with the DCE-CoreTools product.
To see those manpages add
/opt/dce/share/man
to
MANPATH.