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

Go to the source code of this file.

Classes

class  ccf::crypto::KeyPair
 

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Typedefs

using ccf::crypto::PublicKeyPtr = std::shared_ptr< PublicKey >
 
using ccf::crypto::KeyPairPtr = std::shared_ptr< KeyPair >
 

Functions

PublicKeyPtr ccf::crypto::make_public_key (const Pem &pem)
 
PublicKeyPtr ccf::crypto::make_public_key (const std::vector< uint8_t > &der)
 
PublicKeyPtr ccf::crypto::make_public_key (const JsonWebKeyECPublic &jwk)
 
KeyPairPtr ccf::crypto::make_key_pair (CurveID curve_id=service_identity_curve_choice)
 
KeyPairPtr ccf::crypto::make_key_pair (const Pem &pem)
 
KeyPairPtr ccf::crypto::make_key_pair (const JsonWebKeyECPrivate &jwk)