Searched refs:public_key (Results 1 – 1 of 1) sorted by relevance
436 std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)> public_key(X509_get_pubkey(x509.get()), in LoadCertificateFromBuffer() local438 if (!public_key) { in LoadCertificateFromBuffer()443 int key_type = EVP_PKEY_id(public_key.get()); in LoadCertificateFromBuffer()447 cert->rsa.reset(EVP_PKEY_get1_RSA(public_key.get())); in LoadCertificateFromBuffer()455 cert->ec.reset(EVP_PKEY_get1_EC_KEY(public_key.get())); in LoadCertificateFromBuffer()