1gss_test_oid_set_Gmeenmebreirc(3SGeScSu)rity Services API Librgasrsy_tFeusntc_toiiodn_sset_member(3GSS)
2
3
4
6 gss_test_oid_set_member - interrogate an object identifier set
7
9 cc [ flag... ] file... -lgss [ library... ]
10 #include <gssapi/gssapi.h>
11
12 OM_uint32 gss_test_oid_set_member(OM_uint32 *minor_status,
13 const gss_OID member,const gss_OID_set set,
14 int *present);
15
16
18 The gss_test_oid_set_member() function interrogates an object identi‐
19 fier set to determine if a specified object identifier is a member.
20 This function should be used with OID sets returned by gss_indi‐
21 cate_mechs(3GSS), gss_acquire_cred(3GSS), and gss_inquire_cred(3GSS),
22 but it will also work with user-generated sets.
23
25 The parameter descriptions for gss_test_oid_set_member() follow:
26
27 minor_status A mechanism-specific status code
28
29
30 member An object identifier whose presence is to be tested
31
32
33 set An object identifier set.
34
35
36 present The value of present is non-zero if the specified OID
37 is a member of the set; if not, the value of present is
38 zero.
39
40
42 The gss_test_oid_set_member() function may return the following status
43 codes:
44
45 GSS_S_COMPLETE Successful completion
46
47
48 GSS_S_FAILURE The underlying mechanism detected an error for which
49 no specific GSS status code is defined. The mecha‐
50 nism-specific status code reported by means of the
51 minor_status parameter details the error condition.
52
53
55 See attributes(5) for descriptions of the following attributes:
56
57
58
59
60 ┌─────────────────────────────┬─────────────────────────────┐
61 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
62 ├─────────────────────────────┼─────────────────────────────┤
63 │Availability │SUNWgss (32-bit) │
64 ├─────────────────────────────┼─────────────────────────────┤
65 │ │SUNWgssx (64-bit) │
66 ├─────────────────────────────┼─────────────────────────────┤
67 │MT-Level │Safe │
68 └─────────────────────────────┴─────────────────────────────┘
69
71 gss_acquire_cred(3GSS), gss_indicate_mechs(3GSS),
72 gss_inquire_cred(3GSS), attributes(5)
73
74
75 Solaris Security for Developers Guide
76
77
78
79SunOS 5.11 15 Jan 2003 gss_test_oid_set_member(3GSS)