OnixS C++ FIX Engine  4.12.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 the binary data from the BASE64-encoded text.

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

Reconstructs the binary data from the BASE64URL-encoded text.

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

Returns the BASE64 presentation of the binary data.

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

Returns the BASE64URL presentation of the binary data.

Note
Encoding throws nothing.

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