MySQL 8.4.0
Source Code Documentation
ssl.cc File Reference
#include "ssl.h"
#include <openssl/err.h>
#include <regex>
#include <sstream>
#include "ssl_ptr.h"
#include <cassert>
#include <fstream>
#include <iomanip>
#include <ios>
#include <iostream>

Namespaces

namespace  oci
 
namespace  oci::ssl
 

Functions

std::string oci::ssl::base64_encode (const void *binary, size_t length)
 BASE64 encode encrypted data. More...
 
std::string oci::ssl::base64_encode (const Data &data)
 
Data oci::ssl::base64_decode (const std::string &encoded)
 BASE64 decode an encoded string. More...
 
std::string oci::ssl::load_public_key_file (const std::string &public_key_file)
 
EVP_PKEY_ptr oci::ssl::load_public_key (const std::string &public_key_content)
 Create public key BIO from in-memory public key buffer. More...
 
bool oci::ssl::verify (const std::string &digest, const std::string &message, const std::string &public_key_content)
 Verify a message signed by the private key pair of the provided public key. More...