#include <gssapi.h>
OM_uint32 gss_inquire_cred (
OM_uint32 * minor_status,
gss_cred_id_t cred_handle,
gss_name_t * name,
OM_uint32 * lifetime,
gss_cred_usage_t * cred_usage,
gss_OID_set * mechanisms);
Service Program Name: QSYS/QKRBGSSThe gss_inquire_cred() function returns information about a GSS credential to the calling application. If GSS_C_NO_CREDENTIAL is specified for the cred_handle parameter, the default security mechanism is used to process the request.
| GSS_C_INITIATE | The application may initiate a security context. |
| GSS_C_ACCEPT | The application may accept a security context. |
| GSS_C_BOTH | The application may both initiate and accept security contexts. |
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 |
| Each directory in the path name preceding the credential cache file | *X |
| Credential cache file | *RW |
| Message ID | Error Message Text |
|---|---|
| CPE3418 E | Possible APAR condition or hardware failure. |
| Top | Security APIs UNIX-Type APIs | APIs by category |