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_INQUIRE_NAMES_FOR_MECH 3GSS "Jan 15, 2003"
8 gss_inquire_names_for_mech \- list the name-types supported by the specified
13 \fBcc\fR [\fIflag \&.\|.\|.\fR] \fIfile\fR\&.\|.\|. \fB-lgss\fR [\fIlibrary \&.\|.\|.\fR]
14 #include <gssapi/gssapi.h>
16 \fBOM_uint32\fR \fBgss_inquire_names_for_mech\fR(\fBOM_uint32 *\fR\fIminor_status\fR,
17 \fBconst gss_OID\fR \fImechanism\fR,\fBgss_OID_set *\fR\fIname_types\fR);
23 The \fBgss_inquire_names_for_mech()\fR function returns the set of name-types
24 supported by the specified mechanism.
28 The parameter descriptions for \fBgss_inquire_names_for_mech()\fR follow:
32 \fB\fIminor_status\fR\fR
35 A mechanism-specific status code.
44 The mechanism to be interrogated.
50 \fB\fIname_types\fR\fR
53 Set of name-types supported by the specified mechanism. The returned \fBOID\fR
54 set must be freed by the application after use with a call to
55 \fBgss_release_oid_set\fR(3GSS).
61 The \fBgss_inquire_names_for_mech()\fR function may return the following
66 \fB\fBGSS_S_COMPLETE\fR\fR
69 Successful completion.
75 \fB\fBGSS_S_FAILURE\fR\fR
78 The underlying mechanism detected an error for which no specific \fBGSS\fR
79 status code is defined. The mechanism-specific status code reported by means
80 of the \fIminor_status\fR parameter details the error condition.
86 See \fBattributes\fR(5) for descriptions of the following attributes:
94 ATTRIBUTE TYPE ATTRIBUTE VALUE
102 \fBgss_release_oid_set\fR(3GSS), \fBattributes\fR(5)
105 \fISolaris Security for Developers Guide\fR