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_RELEASE_CRED 3GSS "Jan 15, 2003"
8 gss_release_cred \- discard a credential handle
12 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lgss\fR [ \fIlibrary\fR... ]
13 #include <gssapi/gssapi.h>
15 \fBOM_uint32\fR \fBgss_release_cred\fR(\fBOM_uint32 *\fR\fIminor_status\fR,
16 \fBgss_cred_id_t *\fR\fIcred_handle\fR);
22 The \fBgss_release_cred()\fR function informs the \fBGSS-API\fR that the
23 specified credential handle is no longer required by the application and frees
24 the associated resources. The \fIcred_handle\fR parameter is set to
25 \fBGSS_C_NO_CREDENTIAL\fR when this call completes successfully.
29 The parameter descriptions for \fBgss_release_cred()\fR follow:
33 \fB\fIminor_status\fR\fR
36 A mechanism specific status code.
42 \fB\fIcred_handle\fR\fR
45 An opaque handle that identifies the credential to be released. If
46 \fBGSS_C_NO_CREDENTIAL\fR is specified, the \fBgss_release_cred()\fR function
47 will complete successfully, but it will do nothing.
53 \fBgss_release_cred()\fR may return the following status codes:
57 \fB\fBGSS_S_COMPLETE\fR\fR
60 Successful completion.
66 \fB\fBGSS_S_NO_CRED\fR\fR
69 The referenced credentials cannot be accessed.
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
105 \fISolaris Security for Developers Guide\fR