1gss_add_oid_set_mGeemnbeerri(c3GSSeSc)urity Services API Libragrsys_Faudndc_toiiodn_sset_member(3GSS)
2
3
4

NAME

6       gss_add_oid_set_member  - add an object identifier to an object identi‐
7       fier set
8

SYNOPSIS

10       cc [ flag... ] file... -lgss  [ library... ]
11       #include <gssapi/gssapi.h>
12
13       OM_uint32 gss_add_oid_set_member(OM_uint32 *minor_status,
14            const gss_OID member_oid, gss_OID_set *oid_set);
15
16

PARAMETERS

18       The parameter descriptions for gss_add_oid_set_member() follow:
19
20       minor_status    A mechanism specific status code.
21
22
23       member_oid      Object identifier to be copied into the set.
24
25
26       oid_set         Set in which the object identifier should be inserted.
27
28

DESCRIPTION

30       The gss_add_oid_set_member() function adds an object identifier  to  an
31       object identifier set. You should use this function in conjunction with
32       gss_create_empty_oid_set(3GSS) when constructing  a  set  of  mechanism
33       OIDs  for  input  to gss_acquire_cred(3GSS). The oid_set parameter must
34       refer to an OID-set created by GSS-API, that  is,  a  set  returned  by
35       gss_create_empty_oid_set(3GSS).
36
37
38       The GSS-API creates a copy of the member_oid and inserts this copy into
39       the set, expanding the storage allocated to the OID-set elements array,
40       if necessary.  New members are always added to the end of the OID set's
41       elements. If the member_oid is  already  present,  the  oid_set  should
42       remain unchanged.
43

ERRORS

45       The  gss_add_oid_set_member()  function can return the following status
46       codes:
47
48       GSS_S_COMPLETE
49
50           Successful completion.
51
52
53       GSS_S_FAILURE
54
55           The underlying mechanism detected an error for  which  no  specific
56           GSS  status  code  is  defined.  The mechanism-specific status code
57           reported by means of the minor_status parameter details  the  error
58           condition.
59
60

ATTRIBUTES

62       See attributes(5)  for descriptions of the following attributes:
63
64
65
66
67       ┌─────────────────────────────┬─────────────────────────────┐
68       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
69       ├─────────────────────────────┼─────────────────────────────┤
70       │Availability                 │SUNWgss (32-bit)             │
71       ├─────────────────────────────┼─────────────────────────────┤
72       │                             │SUNWgssx (64-bit)            │
73       ├─────────────────────────────┼─────────────────────────────┤
74       │MT-Level                     │Safe                         │
75       └─────────────────────────────┴─────────────────────────────┘
76

SEE ALSO

78       gss_acquire_cred(3GSS), gss_create_empty_oid_set(3GSS), attributes(5)
79
80
81       Solaris Security for Developers Guide
82
83
84
85SunOS 5.11                        16 Aug 2007     gss_add_oid_set_member(3GSS)
Impressum