ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | List of all members
TBase64 Class Reference

This code implements the Base64 encoding and decoding.

Base64 encoded messages are typically used in authentication protocols and to pack binary data in HTTP messages.

Definition at line 33 of file TBase64.h.

Public Member Functions

virtual ~TBase64 ()
 

Static Public Member Functions

static TString Encode (const char *data)
 Transform data into a null terminated base64 string. More...
 
static TString Encode (const char *data, Int_t len)
 Transform len bytes from data into a null terminated base64 string. More...
 
static TString Decode (const char *data)
 Decode a base64 string date into a generic TString. More...
 

#include <TBase64.h>

Constructor & Destructor Documentation

virtual TBase64::~TBase64 ( )
inlinevirtual

Definition at line 36 of file TBase64.h.

Member Function Documentation

TString TBase64::Decode ( const char *  data)
static

Decode a base64 string date into a generic TString.

No check for base64-ness of input characters.

Definition at line 140 of file TBase64.cxx.

Referenced by TAuthenticate::ProofAuthSetup().

TString TBase64::Encode ( const char *  data)
static

Transform data into a null terminated base64 string.

Definition at line 113 of file TBase64.cxx.

Referenced by TWebFile::BasicAuthentication(), TS3HTTPRequest::ComputeSignature(), and TAuthenticate::ProofAuthSetup().

TString TBase64::Encode ( const char *  data,
Int_t  len 
)
static

Transform len bytes from data into a null terminated base64 string.

Definition at line 121 of file TBase64.cxx.


The documentation for this class was generated from the following files: