gss_inquire_mechs_for_name()--Determine Mechanisms to Process Name


  Syntax
 #include <gssapi.h>

 OM_uint32 gss_inquire_mechs_for_name (
     OM_uint32 *    minor_status,  
     gss_name_t     input_name,
     gss_OID_set *    mech_types); 
  Service Program Name: QSYS/QKRBGSS

  Default public authority: *USE

  Threadsafe: Yes

The gss_inquire_mechs_for_name() function returns the mechanisms with which a name may be processed.


Parameters

minor_status  (Output)
A status code from the security mechanism.

input_name  (Input)
The name to be queried.

mech_types  (Output)
The mechanisms that can be used with the specified name. The gss_OID_set returned for this parameter should be released by calling the gss_release_oid_set() routine when it is no longer needed.

Return Value

The return value is one of the following status codes:

GSS_S_BAD_NAME
The supplied name is not valid.

GSS_S_BAD_NAMETYPE
The name type is not supported.

GSS_S_COMPLETE
The routine completed successfully.

GSS_S_FAILURE
The routine failed for reasons that are not defined at the GSS level. The minor_status return parameter contains a mechanism-dependent error code describing the reason for the failure.

Authorities

Object Referred to Data Authority Required
Each directory in the path name preceding the configuration file *X
Configuration file *R


Error Messages

Message ID Error Message Text
CPE3418 E Possible APAR condition or hardware failure.


API introduced: V5R1

[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]