|
The gss_add_oid_set_member() function adds an object identifier to an object identifier set. You should use this function in conjunction with gss_create_empty_oid_set(3GSS) when constructing a set of mechanism OIDs for input to gss_acquire_cred(3GSS). The oid_set parameter must refer
to an OID-set created by GSS-API, that is, a set returned by gss_create_empty_oid_set(3GSS).
The GSS-API creates a copy of the member_oid and inserts this copy into the set, expanding the storage allocated to the OID-set elements array, if necessary. The function may add the new member OID anywhere within the
elements array, and the GSS-API verifies that the new member_oid is not already contained within the elements array. If the member_oid is already present, the oid_set should remain unchanged.
|