JWT-CPP v0.7.0
A header only library for creating and validating JSON Web Tokens (JWT) in C++
|
A collection of fellable functions for working with base64 and base64url. More...
Functions | |
template<typename T > | |
std::string | encode (const std::string &bin) |
Generic base64 encoding. | |
template<typename T > | |
std::string | decode (const std::string &base) |
Generic base64 decoding. | |
template<typename T > | |
std::string | pad (const std::string &base) |
Generic base64 padding. | |
template<typename T > | |
std::string | trim (const std::string &base) |
Generic base64 trimming. | |
A collection of fellable functions for working with base64 and base64url.
std::string jwt::base::decode | ( | const std::string & | base | ) |
Generic base64 decoding.
A Generic base64 decoding function that supports any "alphabet" such as jwt::alphabet::base64
std::string jwt::base::encode | ( | const std::string & | bin | ) |
Generic base64 encoding.
A Generic base64 encode function that supports any "alphabet" such as jwt::alphabet::base64
std::string jwt::base::pad | ( | const std::string & | base | ) |
Generic base64 padding.
A Generic base64 pad function that supports any "alphabet" such as jwt::alphabet::base64
std::string jwt::base::trim | ( | const std::string & | base | ) |
Generic base64 trimming.
A Generic base64 trim function that supports any "alphabet" such as jwt::alphabet::base64