xref: /titanic_44/usr/src/man/man3lib/libsasl.3lib (revision c10c16dec587a0662068f6e2991c29ed3a9db943)
te
Copyright (c) 2003 by Sun Microsystems, Inc. All rights reserved.
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.
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.
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]
libsasl 3LIB "27 Oct 2003" "SunOS 5.11" "Interface Libraries"
NAME
libsasl - simple authentication and security layer library
SYNOPSIS

cc [ flag... ] file... -lsasl [ library... ]
#include <sasl/sasl.h>
#include <sasl/prop.h>
#include <sasl/saslutil.h>
DESCRIPTION

SASL is a security framework used by connection-oriented network applications primarily for authentication. Another way to describe SASL is that it is a glue layer between a network application and some security mechanisms that allow applications to authenticate each other and provide additional security services such as data encryption. As a glue layer, SASL hides the interface specifics of the security mechanism from the application, which allows greater portability and flexibility as new security mechanisms are implemented. SASL is similar to the GSS-API in that it provides a layer of abstraction between an application and one or more security mechanisms.

libsasl provides both an API for applications and an SPI for various plug-ins. To link with this library, specify -lsasl on the cc command line.

INTERFACES

The shared object libsasl.so.1 and associated include files provide the public interfaces defined below. The *_t interfaces are function prototypes for callbacks that are defined in the public SASL header files. While libsasl provides default versions for some of the callbacks, this structure allows an application to define its own version of the some of the callback functions.

See Intro(3) for additional information on shared object interfaces.

prop_clearprop_dispose
prop_dupprop_erase
prop_formatprop_get
prop_getnamesprop_new
prop_requestprop_set
prop_setvalssasl_authorize_t
sasl_auxpropsasl_auxprop_add_plugin
sasl_auxprop_getctxsasl_auxprop_request
sasl_canon_user_tsasl_canonuser_add_plugin
sasl_chalprompt_tsasl_checkapop
sasl_checkpasssasl_client_add_plugin
sasl_client_initsasl_client_new
sasl_client_plug_init_tsasl_client_start
sasl_client_stepsasl_decode
sasl_decode64sasl_dispose
sasl_donesasl_encode
sasl_encode64sasl_encodev
sasl_erasebuffersasl_errdetail
sasl_errorssasl_errstring
sasl_getcallback_tsasl_getopt_t
sasl_getpath_tsasl_getprop
sasl_getrealm_tsasl_getsecret_t
sasl_getsimple_tsasl_global_listmech
sasl_idlesasl_listmech
sasl_log_tsasl_server_add_plugin
sasl_server_initsasl_server_new
sasl_server_plug_init_tsasl_server_start
sasl_server_stepsasl_server_userdb_checkpass_t
sasl_server_userdb_setpass_tsasl_set_alloc
sasl_set_mutexsasl_seterror
sasl_setpasssasl_setprop
sasl_utf8verifysasl_verifyfile_t
sasl_version
FILES

/usr/lib/libsasl.so.1

shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityEvolving
SEE ALSO

Intro(3), attributes(5),