Main Page   Packages   Modules   Data Structures   File List   Data Fields   Globals  

Base64 Encoding
[APR Utility Functions]


Functions

int apr_base64_encode_len (int len)
int apr_base64_encode (char *coded_dst, const char *plain_src, int len_plain_src)
int apr_base64_encode_binary (char *coded_dst, const unsigned char *plain_src, int len_plain_src)
int apr_base64_decode_len (const char *coded_src)
int apr_base64_decode (char *plain_dst, const char *coded_src)
int apr_base64_decode_binary (unsigned char *plain_dst, const char *coded_src)

Function Documentation

int apr_base64_decode char *    plain_dst,
const char *    coded_src
 

Decode a string to plain text

Parameters:
plain_dst  The destination string for the plain text
coded_src  The encoded string
Returns:
the length of the plain text string

int apr_base64_decode_binary unsigned char *    plain_dst,
const char *    coded_src
 

Decode an EBCDIC string to plain text

Parameters:
plain_dst  The destination string for the plain text
coded_src  The encoded string
Returns:
the length of the plain text string

int apr_base64_decode_len const char *    coded_src
 

Determine the length of a plain text string given the encoded version

Parameters:
coded_src  The encoded string
Returns:
the length of the plain text string

int apr_base64_encode char *    coded_dst,
const char *    plain_src,
int    len_plain_src
 

Encode a text string using base64encoding.

Parameters:
coded_dst  The destination string for the encoded string.
plain_src  The original string in plain text
len_plain_src  The length of the plain text string
Returns:
the length of the encoded string

int apr_base64_encode_binary char *    coded_dst,
const unsigned char *    plain_src,
int    len_plain_src
 

Encode an EBCDIC string using base64encoding.

Parameters:
coded_dst  The destination string for the encoded string.
plain_src  The original string in plain text
len_plain_src  The length of the plain text string
Returns:
the length of the encoded string

int apr_base64_encode_len int    len
 

Given the length of an un-encrypted string, get the length of the encrypted string.

Parameters:
len  the length of an unencrypted string.
Returns:
the length of the string after it is encrypted


Generated on Fri Dec 26 01:49:08 2003 for Apache Portable Runtime Utility Library by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002