Searched refs:BIOMemPtr (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-certificate-manager/ |
H A D | certificate.cpp | 49 using BIOMemPtr = std::unique_ptr<BIO, decltype(&::BIO_free)>; typedef 478 BIOMemPtr certBio(BIO_new(BIO_s_mem()), BIO_free); in populateProperties() 488 BIOMemPtr subBio(BIO_new(BIO_s_mem()), BIO_free); in populateProperties() 496 BIOMemPtr issuerBio(BIO_new(BIO_s_mem()), BIO_free); in populateProperties() 555 BIOMemPtr keyBio(BIO_new(BIO_s_file()), ::BIO_free); in checkAndAppendPrivateKey() 620 BIOMemPtr bioCert(BIO_new_file(filePath.c_str(), "rb"), ::BIO_free); in compareKeys() 641 BIOMemPtr keyBio(BIO_new(BIO_s_file()), ::BIO_free); in compareKeys()
|
H A D | x509_utils.cpp | 41 using BIOMemPtr = std::unique_ptr<BIO, decltype(&::BIO_free)>; typedef 103 BIOMemPtr bioCert(BIO_new_file(filePath.c_str(), "rb"), ::BIO_free); in loadCert() 251 BIOMemPtr bioCert(BIO_new_mem_buf(pem.data(), static_cast<int>(pem.size())), in parseCert()
|