[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here
HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 5 GSSAPI (Generic Security Services Application Programming Interface)

gss_context_time — Check how much longer context is valid

 » Table of Contents

 » Glossary

 » Index

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_EXPIREDThe context has already expired.
GSS_S_NO_CONTEXTThe context_handle argument did not identify a valid context.