Lines Matching refs:certSrcFilePath

116 void Certificate::copyCertificate(const std::string& certSrcFilePath,  in copyCertificate()  argument
124 if (certSrcFilePath != certFilePath) in copyCertificate()
126 fs::copy(certSrcFilePath, certFilePath, in copyCertificate()
134 "ERR", e.what(), "SRC", certSrcFilePath, "DST", certFilePath); in copyCertificate()
161 const std::string& certSrcFilePath, const std::string& certDstDirPath) in generateAuthCertFileX509Path() argument
163 const internal::X509Ptr cert = loadCert(certSrcFilePath); in generateAuthCertFileX509Path()
187 Certificate::generateAuthCertFilePath(const std::string& certSrcFilePath) in generateAuthCertFilePath() argument
197 else if (fs::path(certSrcFilePath).parent_path().string() == in generateAuthCertFilePath()
200 return certSrcFilePath; in generateAuthCertFilePath()
210 Certificate::generateCertFilePath(const std::string& certSrcFilePath) in generateCertFilePath() argument
214 return generateAuthCertFilePath(certSrcFilePath); in generateCertFilePath()
294 void Certificate::install(const std::string& certSrcFilePath, bool restore) in install() argument
299 certSrcFilePath); in install()
304 certSrcFilePath); in install()
314 fs::path file(certSrcFilePath); in install()
317 lg2::error("File is Missing, FILE:{FILE}", "FILE", certSrcFilePath); in install()
323 if (fs::file_size(certSrcFilePath) == 0) in install()
326 lg2::error("File is empty, FILE:{FILE}", "FILE", certSrcFilePath); in install()
335 certSrcFilePath, "ERR", e); in install()
339 X509StorePtr x509Store = getX509Store(certSrcFilePath); in install()
342 internal::X509Ptr cert = loadCert(certSrcFilePath); in install()
358 it->second(certSrcFilePath); in install()
370 it->second(certSrcFilePath); in install()
373 copyCertificate(certSrcFilePath, certFilePath); in install()