Searched refs:bioCert (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-certificate-manager/ |
H A D | x509_utils.cpp | 103 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 D | certificate.cpp | 620 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 D | certs_manager_test.cpp | 185 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()
|