Home
last modified time | relevance | path

Searched refs:bioCert (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-certificate-manager/
H A Dx509_utils.cpp103 BIOMemPtr bioCert(BIO_new_file(filePath.c_str(), "rb"), ::BIO_free); in loadCert() local
104 if (!bioCert) in loadCert()
112 if (!PEM_read_bio_X509(bioCert.get(), &x509, nullptr, nullptr)) in loadCert()
251 BIOMemPtr bioCert(BIO_new_mem_buf(pem.data(), static_cast<int>(pem.size())), in parseCert() local
254 if (!PEM_read_bio_X509(bioCert.get(), &x509, nullptr, nullptr)) in parseCert()
H A Dcertificate.cpp620 BIOMemPtr bioCert(BIO_new_file(filePath.c_str(), "rb"), ::BIO_free); in compareKeys() local
621 if (!bioCert) in compareKeys()
629 PEM_read_bio_X509(bioCert.get(), &x509, nullptr, nullptr); in compareKeys()
/openbmc/phosphor-certificate-manager/test/
H A Dcerts_manager_test.cpp185 std::unique_ptr<BIO, decltype(&::BIO_free)> bioCert( in getCertSubjectNameHash() local
187 if (!bioCert) in getCertSubjectNameHash()
193 if (!PEM_read_bio_X509(bioCert.get(), &x509, nullptr, nullptr)) in getCertSubjectNameHash()