1sasl_decode64S(i3mSpAlSeL)Authentication Security Layer Library Fusnacstli_odnescode64(3SASL)
2
3
4
6 sasl_decode64 - decode base64 string
7
9 cc [ flag ... ] file ... -lsasl [ library ... ]
10 #include <sasl/saslutil.h>
11
12 int sasl_decode64(const char *in, unsigned inlen, char *out,
13 unsigned outmax,unsigned *outlen);
14
15
17 Use the sasl_decode64() interface to decode a base64 encoded buffer.
18
20 in Input data.
21
22
23 inlen The length of the input data.
24
25
26 out The output data. The value of out can be the same as in. How‐
27 ever, there must be enough space.
28
29
30 outlen The length of the actual output.
31
32
33 outmax The maximum size of the output buffer.
34
35
37 sasl_decode64() returns an integer that corresponds to a SASL error
38 code.
39
41 SASL_OK The call to sasl_decode64() was successful.
42
43
44
45 See sasl_errors(3SASL) for information on SASL error codes.
46
48 See attributes(5) for descriptions of the following attributes:
49
50
51
52
53 ┌─────────────────────────────┬─────────────────────────────┐
54 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │Availability │SUNWlibsasl │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │Interface Stability │Evolving │
59 ├─────────────────────────────┼─────────────────────────────┤
60 │MT-Level │MT-Safe │
61 └─────────────────────────────┴─────────────────────────────┘
62
64 sasl_errors(3SASL), attributes(5)
65
66
67
68SunOS 5.11 16 Sep 2003 sasl_decode64(3SASL)