1gss_create_empty_Goeinde_rsiect(S3eGcSuSr)ity Services API Libgrsasr_ycrFeuantcet_ieomnpsty_oid_set(3GSS)
2
3
4
6 gss_create_empty_oid_set - create an object-identifier set containing
7 no object identifiers
8
10 cc [ flag... ] file... -lgss [ library... ]
11 #include <gssapi/gssapi.h>
12
13 OM_uint32 gss_create_empty_oid_set(OM_uint32 *minor_status,
14 gss_OID_set *oid_set);
15
16
18 The gss_create_empty_oid_set() function creates an object-identifier
19 set containing no object identifiers to which members may be subse‐
20 quently added using the gss_add_oid_set_member(3GSS) function. These
21 functions can be used to construct sets of mechanism object identifiers
22 for input to gss_acquire_cred(3GSS).
23
25 The parameter descriptions for gss_create_empty_oid_set() follow:
26
27 minor_status Mechanism-specific status code
28
29
30 oid_set Empty object identifier set. The function will allocate
31 the gss_OID_set_desc object, which the application
32 must free after use with a call to
33 gss_release_oid_set(3GSS).
34
35
37 The gss_create_empty_oid_set() function may return the following status
38 codes:
39
40 GSS_S_COMPLETE Successful completion
41
42
43 GSS_S_FAILURE The underlying mechanism detected an error for which
44 no specific GSS status code is defined. The mecha‐
45 nism-specific status code reported by means of the
46 minor_status parameter details the error condition.
47
48
50 See attributes(5) for descriptions of the following attributes:
51
52
53
54
55 ┌─────────────────────────────┬─────────────────────────────┐
56 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │Availability │SUNWgss (32-bit) │
59 ├─────────────────────────────┼─────────────────────────────┤
60 │ │SUNWgssx (64-bit) │
61 ├─────────────────────────────┼─────────────────────────────┤
62 │MT-Level │Safe │
63 └─────────────────────────────┴─────────────────────────────┘
64
66 gss_acquire_cred(3GSS), gss_add_oid_set_member(3GSS),
67 gss_release_oid_set(3GSS), attributes(5)
68
69
70 Solaris Security for Developers Guide
71
72
73
74SunOS 5.11 14 Jan 2003 gss_create_empty_oid_set(3GSS)