Kea 2.7.6
encode.cc File Reference
#include <config.h>
#include <exceptions/exceptions.h>
#include <exceptions/isc_assert.h>
#include <util/encode/encode.h>
#include <iostream>
#include <stdint.h>
#include <stdexcept>
#include <string>
#include <cstring>
#include <vector>
+ Include dependency graph for encode.cc:

Go to the source code of this file.

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::util
 
namespace  isc::util::encode
 

Functions

void isc::util::encode::decodeBase32Hex (const std::string &encoded_str, std::vector< uint8_t > &output)
 Decode a base32-hex encoded string into binary data.
 
void isc::util::encode::decodeBase64 (const std::string &encoded_str, std::vector< uint8_t > &output)
 Decode a base64 encoded string into binary data.
 
void isc::util::encode::decodeHex (const std::string &encoded_str, std::vector< uint8_t > &output)
 Decode a base16 encoded string into binary data.
 
string isc::util::encode::encodeBase32Hex (const std::vector< uint8_t > &binary)
 Encode binary data in the base32-hex format.
 
string isc::util::encode::encodeBase64 (const std::vector< uint8_t > &binary)
 Encode binary data in the base64 format.
 
string isc::util::encode::encodeHex (const std::vector< uint8_t > &binary)
 Encode binary data in the base16 format.