gss_add_oid_set_member()--Add OID to an OID Set


  Syntax
 #include <gssapi.h>

 OM_uint32 gss_add_oid_set_member(
     OM_uint32 *    minor_status,     
     gss_OID      input_oid,
     gss_OID_set *    oid_set); 
  Service Program Name: QSYS/QKRBGSS

  Default public authority: *USE

  Threadsafe: Yes

The gss_add_oid_set_member() function adds a new OID to an existing OID set.


Parameters

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

input_oid  (Input)
The OID to add to the OID set.

oid_set  (Input/Output)
The OID set. The gss_OID array referenced by the elements field of the gss_OID_set will be reallocated to hold the new OID. The application should call the gss_release_oid_set() routine to release the OID set when it is no longer needed.

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. You can create an empty OID set by calling the gss_create_empty_oid_set() routine. The gss_add_oid_set_member() routine makes a copy of the input OID, so any future changes to the input OID will have no effect on the copy in the OID set.


API introduced: V5R1

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