skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: GSSAPI (Generic Security Services Application... GSSAPI (Generic Security Services Application...
go to previous page: gss_canonicalize_name  Convert internal name to internal mechanism name gss_canonicalize_name Convert internal name to internal mechanism...
go to next page: gss_create_empty_oid_set  Create a set containing no object identifiersgss_create_empty_oid_set Create a set containing no object identifiers
end of book navigation links

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.


go to previous page: gss_canonicalize_name  Convert internal name to internal mechanism name gss_canonicalize_name Convert internal name to internal mechanism...
go to next page: gss_create_empty_oid_set  Create a set containing no object identifiersgss_create_empty_oid_set Create a set containing no object identifiers