SASL_ENCODE - Online Linux Manual Page
Section : 3
Updated : November 08, 2018
Source : 2.1.27
Note : Cyrus SASL
NAMEsasl_encode − Cyrus SASL documentation
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);
DESCRIPTIONsasl_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. int sasl_encode(sasl_conn_t *conn, const char * input, unsigned inputlen, const char ** output, unsigned * outputlen); Parameters • conn – is the SASL connection context • output – contains the decoded data and is allocated/freed by the library. • outputlen – length of output. int sasl_encodev(sasl_conn_t *conn, const struct iovec * invec, unsigned numiov, const char ** output, unsigned * outputlen); Parameters • conn – is the SASL connection context • output – contains the decoded data and is allocated/freed by the library. • outputlen – length of output.
RETURN VALUESASL callback functions should return SASL return codes. See sasl.h for a complete list. SASL_OK indicates success. Other return codes indicate errors and should be handled.
SEE ALSORFC 4422,:saslman:sasl(3), sasl_decode(3), sasl_errors(3)
AUTHORThe Cyrus Team
COPYRIGHT1993-2016, The Cyrus Team 0
Johanes Gumabo
Data Size : 11,273 byte
man-sasl_encode.3Build : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 27 / 2,329,560
Visitor ID : :
Visitor IP : 216.73.216.66 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 20 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.