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

Go to the source code of this file.

Classes

class  ccf::crypto::RSAPublicKey
 

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Typedefs

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

Enumerations

enum class  ccf::crypto::RSAPadding : uint8_t { ccf::crypto::PKCS1v15 , ccf::crypto::PKCS_PSS }
 

Functions

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)