OnixS C++ FIX Engine  4.5.0
API Documentation
Base64Encoding Class Reference

#include <OnixS/FIXEngine/Cryptography/Base64Encoding.h>

Static Public Member Functions

static std::string encode (const void *data, const size_t dataSize)
 
static void decode (ByteArray &decoded, const std::string &encoded)
 
static std::string encodeUrl (const void *data, const size_t dataSize)
 
static void decodeUrl (ByteArray &decoded, const std::string &encoded)
 

Detailed Description

Definition at line 30 of file Base64Encoding.h.

Member Function Documentation

static void decode ( ByteArray decoded,
const std::string &  encoded 
)
static

Reconstructs binary data from BASE64-encoded text.

Exceptions
Exceptionif text is corrupted or not BASE64-encoded.
static void decodeUrl ( ByteArray decoded,
const std::string &  encoded 
)
static

Reconstructs binary data from BASE64URL-encoded text.

Exceptions
Exceptionif text is corrupted or not BASE64URL-encoded.
static std::string encode ( const void *  data,
const size_t  dataSize 
)
static

Returns BASE64 presentation of binary data.

Note
Encoding throws nothing.
static std::string encodeUrl ( const void *  data,
const size_t  dataSize 
)
static

Returns BASE64URL presentation of binary data.

Note
Encoding throws nothing.

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