Simple Authentication Security Layer Library Functions
sasldecode64(3SASL)
NAME
sasldecode64 - decode base64 string
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#include
int sasldecode64(const char *in, unsigned inlen, char *out,
unsigned outmax,unsigned *outlen);
DESCRIPTION
Use the sasldecode64() interface to decode a base64 encoded
buffer.
PARAMETERS
in Input data.
inlen The length of the input data.
out The output data. The value of out can be the same
as in. However, there must be enough space.
outlen The length of the actual output.
outmax The maximum size of the output buffer.
RETURN VALUES
sasldecode64() returns an integer that corresponds to a
SASL error code.
ERORS
SASLOK The call to sasldecode64() was successful.
See saslerrors(3SASL) for information on SASL error codes.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 16 Sep 2003 1
Simple Authentication Security Layer Library Functions
sasldecode64(3SASL)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWlibsasl
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
saslerrors(3SASL), attributes(5)
SunOS 5.11 Last change: 16 Sep 2003 2
Simple Authentication Security Layer Library Functions
sasldecode64(3SASL)
SunOS 5.11 Last change: 16 Sep 2003 3
|