2 .\" Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH GSS_CREATE_EMPTY_OID_SET 3GSS "Jan 14, 2003"
8 gss_create_empty_oid_set \- create an object-identifier set containing no
13 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lgss\fR [ \fIlibrary\fR... ]
14 #include <gssapi/gssapi.h>
16 \fBOM_uint32\fR \fBgss_create_empty_oid_set\fR(\fBOM_uint32 *\fR\fIminor_status\fR,
17 \fBgss_OID_set *\fR\fIoid_set\fR);
23 The \fBgss_create_empty_oid_set()\fR function creates an object-identifier set
24 containing no object identifiers to which members may be subsequently added
25 using the \fBgss_add_oid_set_member\fR(3GSS) function. These functions can be
26 used to construct sets of mechanism object identifiers for input to
27 \fBgss_acquire_cred\fR(3GSS).
31 The parameter descriptions for \fBgss_create_empty_oid_set()\fR follow:
35 \fB\fIminor_status\fR\fR
38 Mechanism-specific status code
47 Empty object identifier set. The function will allocate the
48 \fBgss_OID_set_desc\fR object, which the application must free after use with
49 a call to \fBgss_release_oid_set\fR(3GSS).
55 The \fBgss_create_empty_oid_set()\fR function may return the following status
60 \fB\fBGSS_S_COMPLETE\fR\fR
69 \fB\fBGSS_S_FAILURE\fR\fR
72 The underlying mechanism detected an error for which no specific \fBGSS\fR
73 status code is defined. The mechanism-specific status code reported by means
74 of the \fIminor_status\fR parameter details the error condition.
80 See \fBattributes\fR(5) for descriptions of the following attributes:
88 ATTRIBUTE TYPE ATTRIBUTE VALUE
96 \fBgss_acquire_cred\fR(3GSS), \fBgss_add_oid_set_member\fR(3GSS),
97 \fBgss_release_oid_set\fR(3GSS), \fBattributes\fR(5)
100 \fISolaris Security for Developers Guide\fR