#include <gssapi.h>
OM_uint32 gss_inquire_context (
OM_uint32 * minor_status,
gss_ctx_id_t context_handle,
gss_name_t * source_name,
gss_name_t * target_name,
OM_uint32 * lifetime,
gss_OID * mech_type,
gss_flags_t * ret_flags,
int * local,
int * open);
Service Program Name: QSYS/QKRBGSSThe gss_inquire_context() function returns information about a security context to the calling application.
| GSS_C_ANON_FLAG | The initiator identity will not be provided to the context acceptor. |
| GSS_C_CONF_FLAG | Message confidentiality services are available. |
| GSS_C_DELEG_FLAG | Delegated credentials will be available to the context acceptor. |
| GSS_C_INTEG_FLAG | Message integrity services are available. |
| GSS_C_MUTUAL_FLAG | Mutual authentication will be performed. The gss_accept_sec_context() routine will generate an output token which the context acceptor must return to the context initiator to complete the security context setup. |
| GSS_C_PROT_READY_FLAG | Protection services, as specified by the states of the GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG, are available for use even if the context is not fully established. Otherwise, protection services are available for use only if value returned by the open parameter is TRUE. |
| GSS_C_REPLAY_FLAG | Message replay detection will be performed. |
| GSS_C_SEQUENCE_FLAG | Message sequence checking will be performed. |
The return value is one of the following status codes:
| Object Referred to | Data Authority Required |
|---|---|
| Each directory in the path name preceding the configuration file | *X |
| Configuration file | *R |
| Message ID | Error Message Text |
|---|---|
| CPE3418 E | Possible APAR condition or hardware failure. |
| Top | Security APIs UNIX-Type APIs | APIs by category |