50 : m_ctx(EVP_PKEY_CTX_new(key, nullptr))
52 BOOST_ASSERT(m_ctx !=
nullptr);
56 : m_ctx(EVP_PKEY_CTX_new_id(id, nullptr))
58 BOOST_ASSERT(m_ctx !=
nullptr);
63 EVP_PKEY_CTX_free(m_ctx);
66 #if OPENSSL_VERSION_NUMBER < 0x1010000fL
70 #endif // OPENSSL_VERSION_NUMBER < 0x1010000fL
71 : m_bio(BIO_new(method))
73 BOOST_ASSERT(m_bio !=
nullptr);
Copyright (c) 2013-2016 Regents of the University of California.
EvpPkeyCtx(EVP_PKEY *key)
Use the SHA256 hash of the public key as the key id.
const EVP_MD * toDigestEvpMd(DigestAlgorithm algo)