CCF
Loading...
Searching...
No Matches
Namespaces | Functions
rsa_public_key.cpp File Reference
#include "ccf/crypto/openssl/openssl_wrappers.h"
#include "crypto/openssl/hash.h"
#include "crypto/openssl/rsa_key_pair.h"
#include <openssl/core_names.h>
#include <openssl/encoder.h>

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Functions

std::pair< std::vector< uint8_t >, std::vector< uint8_t > > ccf::crypto::rsa_public_raw_from_jwk (const JsonWebKeyRSAPublic &jwk)
 
std::vector< uint8_t > ccf::crypto::bn_to_bytes (const BIGNUM *bn)
 
RSAPublicKeyPtr ccf::crypto::make_rsa_public_key (const uint8_t *data, size_t size)
 
RSAPublicKeyPtr ccf::crypto::make_rsa_public_key (const Pem &public_pem)
 
RSAPublicKeyPtr ccf::crypto::make_rsa_public_key (const std::vector< uint8_t > &der)
 
RSAPublicKeyPtr ccf::crypto::make_rsa_public_key (const JsonWebKeyRSAPublic &jwk)