CCF
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
base64.cpp File Reference
#include "openssl/base64.h"
#include "ccf/ds/logger.h"

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Typedefs

using ccf::crypto::Base64Impl = Base64_openssl
 

Functions

std::vector< uint8_t > ccf::crypto::raw_from_b64 (const std::string_view &b64_string)
 
std::vector< uint8_t > ccf::crypto::raw_from_b64url (const std::string_view &b64url_string)
 
std::string ccf::crypto::b64_from_raw (const uint8_t *data, size_t size)
 
std::string ccf::crypto::b64_from_raw (const std::vector< uint8_t > &data)
 
std::string ccf::crypto::b64url_from_raw (const uint8_t *data, size_t size, bool with_padding=true)
 
std::string ccf::crypto::b64url_from_raw (const std::vector< uint8_t > &data, bool with_padding=true)