36 throw std::runtime_error(
"Key not initialized");
void generateKeyPair() override
~OpenSSLKeyExchange() override=default
static folly::ssl::EvpPkeyUniquePtr decode(folly::ByteRange range)
static std::unique_ptr< folly::IOBuf > encode(const folly::ssl::EvpPkeyUniquePtr &key)
std::unique_ptr< folly::IOBuf > generateSharedSecret(folly::ByteRange keyShare) const override
std::unique_ptr< folly::IOBuf > getKeyShare() const override
detail::OpenSSLECKeyExchange< T > keyExchange_