gss_context_time(3)gss_context_time(3)NAMEgss_context_time - Determine remaining lifetime of security context.
SYNOPSIS
#include <gssapi/gssapi.h>
OM_uint32 gss_context_time(
OM_uint32 * minor_status,
const gss_ctx_id_t context_handle,
OM_uint32 * time_rec );
PARAMETERS
Kerberos 5 error code. Security context to be queried. Number of sec‐
onds that remain in the lifetime of the security context. Since the HP
Application Security SDK does not support context expiration, the value
GSS_C_INDEFINITE is always returned.
DESCRIPTION
The gss_context_time() function returns the number of seconds remaining
in the security context's lifetime.
The HP Application Security SDK does not support context expiration. A
security context established using the Kerberos 5 security mechanism
does not expire because the authentication process establishes long-
lived symmetric session keys.
RETURN VALUES
GSS_S_CALL_INACCESSIBLE_READ 01xxxxxx
GSS_S_CALL_INACCESSIBLE_WRITE 02xxxxxx
GSS_S_COMPLETE 00000000
GSS_S_FAILURE xx0Dxxxx
GSS_S_NO_CONTEXT xx08xxxx
PORTABILITY CONSIDERATIONS
The HP Application Security Toolkit does not support context expira‐
tion.
SEE ALSO
Functions: gss_accept_sec_context(3), gss_export_sec_context(3),
gss_import_sec_context(3), gss_init_sec_context(3), gss_inquire_con‐
text(3)gss_context_time(3)