gss_test_oid_set_member()--Determine if Specified OID is Contained in a Specified OID Set


  Syntax
 #include <gssapi.h>

 OM_uint32 gss_test_oid_set_member(  
     OM_uint32 *    minor_status,
     gss_OID      member_oid,
     gss_OID_set    oid_set,
     int *      is_present); 
  Service Program Name: QSYS/QKRBGSS

  Default public authority: *USE

  Threadsafe: Yes

The gss_test_oid_set_member() function checks an oid set to see if a specified oid is a member of the set.


Parameters

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

member_oid  (Input)
The OID to search for in the OID set.

oid_set  (Input)
The OID set to check.

is_present  (Output)
1 if the OID is a member of the OID set. Otherwise, it is set to zero.

Return Value

The return value is one of the following status codes:

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.


Usage Notes

  1. Thegss_create_empty_oid_set() routine can be used to create an empty oid set. The gss_add_oid_set_member() routine can be used to add an oid to an existing oid set.


API introduced: V5R1

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