Kea 2.5.8
encode.h File Reference
#include <stdint.h>
#include <string>
#include <vector>
+ Include dependency graph for encode.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::util::encode::Base16Encoder
 Class for encoding and decoding binary data using Base16 (aka Hex) as described in RFC 4648. More...
 
class  isc::util::encode::Base32HexEncoder
 Class for encoding and decoding binary data using Base32Hex as described in RFC 4648. More...
 
class  isc::util::encode::Base64Encoder
 Class for encoding and decoding binary data using Base64 as described in RFC 4648. More...
 
class  isc::util::encode::BaseNEncoder
 Class for encoding and decoding binary data using an algorithm described in RFC 4648. More...
 

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.
 
std::string isc::util::encode::toHex (std::string value)
 Encode in hexadecimal inline.