sasl_encode


HOME

sasl_encode

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO

NAME

sasl_encode − Encode data for transport to authenticated host

SYNOPSIS

#include <sasl/sasl.h>

int sasl_encode(sasl_conn_t *conn,

const char * input,

unsigned inputlen,

const char ** output,

unsigned * outputlen);

int sasl_encodev(sasl_conn_t *conn,

const struct iovec * invec,

unsigned numiov,

const char ** output,

unsigned * outputlen);

DESCRIPTION

sasl_encode encodes data to be sent to be sent to a remote host who we’ve had a successful authentication session with. If there is a negotiated security the data in signed/encrypted and the output should be sent without modification to the remote host. If there is no security layer the output is identical to the input.

sasl_encodev does the same, but for a struct iovec instead of a character buffer.

output contains the encoded data and is allocated/freed by the library.

RETURN VALUE

Returns SASL_OK on success. See sasl_errors(3) for meanings of other return codes.

CONFORMING TO

RFC 2222

SEE ALSO

sasl(3), sasl_errors(3), sasl_decode(3)



More Linux Commands

manpages/glColor4ub.3gl.html
glColor4ub(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

manpages/XvSelectVideoNotify.3.html
XvSelectVideoNotify(3) - enable or disable VideoNotify event
XvSelectVideoNotify(3) enables or disables XvVideoNotify(3) events to be reported for video activity in a drawable. RETURN VALUES [Success] Returned if XvSelect

manpages/XML::DOM::EntityReference.3pm.html
XML::DOM::EntityReference(3pm) - An XML ENTITY reference in
XML::DOM::EntityReference extends XML::DOM::Node. EntityReference objects may be inserted into the structure model when an entity reference is in the source doc

manpages/cpowf.3.html
cpowf(3) - complex power function - Linux manual page.......
The function calculates x raised to the power z. (With a branch cut for x along the negative real axis.) VERSIONS These functions first appeared in glibc in ver

manpages/MIME::Decoder::NBit.3pm.html
MIME::Decoder::NBit(3pm) - encode/decode a "7bit" or "8bit"
This is a MIME::Decoder subclass for the 7bit and 8bit content transfer encodings. These are not encodings per se: rather, they are simply assertions of the con

manpages/xmlgraphics-fop-fontmetric.1.html
xmlgraphics-fop-fontmetric(1) - Reads TTF files and Generate
Classnames: org.apache.fop.fonts.apps.PFMReader and org.apache.fop.fonts.apps.TTFReader xmlgraphicsfopfontmetric [t | p] [options] [fontfile.ttf] ..........

manpages/XauGetAuthByAddr.3.html
XauGetAuthByAddr(3) - (unknown subject) - Linux manual page
XauFileName generates the default authorization file name by first checking the XAUTHORITY environment variable if set, else it returns $HOME/.Xauthority. This

manpages/snmp_sess_perror.3.html
snmp_sess_perror(3) - netsnmp_session_api functions.........
Snmp_sess_init prepares a netsnmp_session that sources transport characteristics and common information that will be used for a set of SNMP transactions. After

manpages/Fatal.3pm.html
Fatal(3pm) - Replace functions with equivalents which succee
Fatal provides a way to conveniently replace functions which normally return a false value when they fail with equivalents which raise exceptions if they are no

manpages/auparse_get_field_type.3.html
auparse_get_field_type(3) - get current field's data type...
auparse_get_field_type returns a value from the auparse_type_t enum that describes the kind of data in the current field of the current record in the current ev

manpages/Apache::TestMM.3pm.html
Apache::TestMM(3pm) - Provide MakeMaker Wrapper Methods.....
Apache::TestMM provides wrappers for the ExtUtils::MakeMaker craft, making it easier to extend the autogenerated Makefile with Apache::Test. FUNCTIONS import us

manpages/yaz-icu.1.html
yaz-icu(1) - YAZ ICU utility (Commands - Linux man page)....
yaz-icu is utility which demonstrates the ICU chain module of yaz. (yaz/icu.h). The utility can be used in two ways. It may read some text using an XML configur





We can't live, work or learn in freedom unless the software we use is free.