Lines Matching full:pem
16 #include <openssl/pem.h>
84 * @brief Dumps the PEM encoded certificate to installFilePath
86 * @param[in] pem - PEM encoded X509 certificate buffer.
92 void dumpCertificate(const std::string& pem, const std::string& certFilePath) in dumpCertificate() argument
102 outputCertFileStream << pem << "\n" << std::flush; in dumpCertificate()
109 "ERR", e, "SRC_PEM", pem, "DST", certFilePath); in dumpCertificate()
257 const std::string& pem, Watch* watchPtr, in Certificate() argument
269 install(x509Store, pem, restore); in Certificate()
383 void Certificate::install(X509_STORE& x509Store, const std::string& pem, in install() argument
388 lg2::debug("Certificate install, PEM_STR:{PEM_STR}", "PEM_STR", pem); in install()
392 lg2::info("Certificate install, PEM_STR:{PEM_STR} ", "PEM_STR", pem); in install()
410 internal::X509Ptr cert = parseCert(pem); in install()
416 // Copy the PEM to the installation path in install()
417 dumpCertificate(pem, certFilePath); in install()