---
name: "gss_test_oid_set_member"
section: "3"
platform: "linux"
package: "gss-man"
version: "1.0.4-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gss_test_oid_set_member"
---

# gss\_test\_oid\_set\_member(3)

API function

## NAME

gss\_test\_oid\_set\_member - API function

## SYNOPSIS

**#include \<gss.h\>**

**OM\_uint32 gss\_test\_oid\_set\_member(OM\_uint32 \*** *minor\_status***, const gss\_OID** *member***, const gss\_OID\_set** *set***, int \*** *present***);**

## ARGUMENTS

- OM\_uint32 \* minor\_status

  (integer, modify) Mechanism specific status code.

- const gss\_OID member

  (Object ID, read) The object identifier whose presence is\
     to be tested.

- const gss\_OID\_set set

  (Set of Object ID, read) The Object Identifier set.

- int \* present

  (Boolean, modify) Non-zero if the specified OID is a\
     member of the set, zero if not.

## DESCRIPTION

Interrogate an Object Identifier set to determine whether a specified Object Identifier is a member.  This routine is intended to be used with OID sets returned by **gss\_indicate\_mechs()**, **gss\_acquire\_cred()**, and **gss\_inquire\_cred()**, but will also work with user-generated sets.

## RETURN VALUE

\`GSS\_S\_COMPLETE\`: Successful completion.

## REPORTING BUGS

Report bugs to \<bug-gss@gnu.org\>. GNU Generic Security Service home page: http://www.gnu.org/software/gss/ General help using GNU software: http://www.gnu.org/gethelp/

## COPYRIGHT

Copyright © 2003-2022 Simon Josefsson.\
 Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

## SEE ALSO

The full documentation for **gss** is maintained as a Texinfo manual.  If the **info** and **gss** programs are properly installed at your site, the command

-

  **info gss**

should give you access to the complete manual.
