CCF
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
eddsa_key_pair.cpp File Reference
#include "ccf/crypto/eddsa_key_pair.h"
#include "openssl/eddsa_key_pair.h"
#include "openssl/public_key.h"
#include <cstring>
#include <iomanip>
#include <limits>
#include <memory>
#include <string>

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Typedefs

using ccf::crypto::PublicKeyImpl = EdDSAPublicKey_OpenSSL
 
using ccf::crypto::KeyPairImpl = EdDSAKeyPair_OpenSSL
 

Functions

EdDSAPublicKeyPtr ccf::crypto::make_eddsa_public_key (const Pem &pem)
 
EdDSAPublicKeyPtr ccf::crypto::make_eddsa_public_key (const JsonWebKeyEdDSAPublic &jwk)
 
EdDSAKeyPairPtr ccf::crypto::make_eddsa_key_pair (CurveID curve_id=CurveID::CURVE25519)
 
EdDSAKeyPairPtr ccf::crypto::make_eddsa_key_pair (const Pem &pem)
 
EdDSAKeyPairPtr ccf::crypto::make_eddsa_key_pair (const JsonWebKeyEdDSAPrivate &jwk)