Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

XSCryptCryptoBase64 Class Reference

#include <XSCryptCryptoBase64.hpp>

Inheritance diagram for XSCryptCryptoBase64:

Inheritance graph
[legend]
Collaboration diagram for XSCryptCryptoBase64:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 XSCryptCryptoBase64 ()
virtual ~XSCryptCryptoBase64 ()
Decoding Functions
virtual void decodeInit (void)
 Initialise the base64 object.
virtual unsigned int decode (const unsigned char *inData, unsigned int inLength, unsigned char *outData, unsigned int outLength)
 Decode some passed in data.
virtual unsigned int decodeFinish (unsigned char *outData, unsigned int outLength)
 Finish off a decode.
Encoding Functions
virtual void encodeInit (void)
 Initialise the base64 object for encoding.
virtual unsigned int encode (const unsigned char *inData, unsigned int inLength, unsigned char *outData, unsigned int outLength)
 Encode some passed in data.
virtual unsigned int encodeFinish (unsigned char *outData, unsigned int outLength)
 Finish off an encode.

Constructor & Destructor Documentation

XSCryptCryptoBase64::XSCryptCryptoBase64  )  [inline]
 

virtual XSCryptCryptoBase64::~XSCryptCryptoBase64  )  [inline, virtual]
 


Member Function Documentation

virtual unsigned int XSCryptCryptoBase64::decode const unsigned char *  inData,
unsigned int  inLength,
unsigned char *  outData,
unsigned int  outLength
[virtual]
 

Decode some passed in data.

Decode the passed in data and place the data in the outData buffer

Parameters:
inData Pointer to the buffer holding encoded data.
inLength Length of the encoded data in the buffer
outData Buffer to place decoded data into
outLength Maximum amount of data that can be placed in the buffer.
Returns:
The number of bytes placed in the outData buffer.

Implements XSECCryptoBase64.

virtual unsigned int XSCryptCryptoBase64::decodeFinish unsigned char *  outData,
unsigned int  outLength
[virtual]
 

Finish off a decode.

Clean out any extra data from previous decode operations and place into the outData buffer.

Parameters:
outData Buffer to place any remaining decoded data
outLength Max amount of data to be placed in the buffer.
Returns:
Amount of data placed in the outData buffer

Implements XSECCryptoBase64.

virtual void XSCryptCryptoBase64::decodeInit void   )  [virtual]
 

Initialise the base64 object.

Initialises the OpenSSL decode context and gets ready for data to be decoded.

Implements XSECCryptoBase64.

virtual unsigned int XSCryptCryptoBase64::encode const unsigned char *  inData,
unsigned int  inLength,
unsigned char *  outData,
unsigned int  outLength
[virtual]
 

Encode some passed in data.

Parameters:
inData Pointer to the buffer holding data to be encoded.
inLength Length of the data in the buffer
outData Buffer to place encoded data into
outLength Maximum amount of data that can be placed in the buffer.
Returns:
The number of bytes placed in the outData buffer.

Implements XSECCryptoBase64.

virtual unsigned int XSCryptCryptoBase64::encodeFinish unsigned char *  outData,
unsigned int  outLength
[virtual]
 

Finish off an encode.

Take any data from previous encode operations and create the tail of the base64 encoding.

Parameters:
outData Buffer to place any remaining encoded data
outLength Max amount of data to be placed in the buffer.
Returns:
Amount of data placed in the outData buffer

Implements XSECCryptoBase64.

virtual void XSCryptCryptoBase64::encodeInit void   )  [virtual]
 

Initialise the base64 object for encoding.

Get the context variable ready for a base64 decode

Implements XSECCryptoBase64.


The documentation for this class was generated from the following file:
Generated on Sun Jul 3 17:45:09 2005 for XML-Security-C by  doxygen 1.4.2