1SC_BASE64_DECODE(3) OpenSC API reference SC_BASE64_DECODE(3)
23
4
NAME
6sc_base64_decode - Decode a base64 stream
7
SYNOPSIS
9#include <opensc.h>
1011
int sc_base64_decode(const char *inbuf,
12unsigned char *outbuf, size_t outlen);
1314
15
DESCRIPTION
17This function decodes the base64 stream in inbuf, which is
18NULL-terminated, to the buffer pointed to by outbuf (which is outlen
19bytes long);
20
RETURN VALUE
22Returns 0 if successful, or a negative value in case of error.
2324
25
26
opensc 02/16/2010 SC_BASE64_DECODE(3)