Base64 Class Reference

An implementation of the Base64 data encoding (RFC 3548). More...

#include <base64.h>

List of all members.

Static Public Member Functions

static const std::string encode64 (const std::string &input)
static const std::string decode64 (const std::string &input)


Detailed Description

An implementation of the Base64 data encoding (RFC 3548).

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.8

Definition at line 30 of file base64.h.


Member Function Documentation

const std::string encode64 ( const std::string &  input  )  [static]

Base64-encodes the input according to RFC 3548.

Parameters:
input The data to encode.
Returns:
The encoded string.

Definition at line 40 of file base64.cpp.

Referenced by ClientBase::processSASLChallenge(), InBandBytestream::sendBlock(), VCard::setLogo(), VCard::setPhoto(), and ClientBase::startSASL().

const std::string decode64 ( const std::string &  input  )  [static]

Base64-decodes the input according to RFC 3548.

Parameters:
input The encoded data.
Returns:
The decoded data.

Definition at line 85 of file base64.cpp.

Referenced by InBandBytestream::filter(), ClientBase::processSASLChallenge(), and VCard::VCard().


The documentation for this class was generated from the following files:
Generated on Tue May 1 14:20:21 2007 for gloox by  doxygen 1.5.1