CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
rsa_key_pair.h File Reference
#include "ccf/crypto/jwk.h"
#include "ccf/crypto/key_pair.h"
#include "ccf/crypto/pem.h"
#include "ccf/crypto/rsa_public_key.h"
#include <cstdint>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  ccf::crypto::RSAKeyPair
 

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Typedefs

using ccf::crypto::RSAPublicKeyPtr = std::shared_ptr< RSAPublicKey >
 
using ccf::crypto::RSAKeyPairPtr = std::shared_ptr< RSAKeyPair >
 

Functions

RSAPublicKeyPtr ccf::crypto::make_rsa_public_key (const Pem &pem)
 
RSAPublicKeyPtr ccf::crypto::make_rsa_public_key (const std::vector< uint8_t > &der)
 
RSAPublicKeyPtr ccf::crypto::make_rsa_public_key (const JsonWebKeyRSAPublic &jwk)
 
RSAPublicKeyPtr ccf::crypto::make_rsa_public_key (const uint8_t *data, size_t size)
 
RSAKeyPairPtr ccf::crypto::make_rsa_key_pair (size_t public_key_size=RSAKeyPair::default_public_key_size, size_t public_exponent=RSAKeyPair::default_public_exponent)
 
RSAKeyPairPtr ccf::crypto::make_rsa_key_pair (const Pem &pem)
 
RSAKeyPairPtr ccf::crypto::make_rsa_key_pair (const JsonWebKeyRSAPrivate &jwk)