Searched refs:privateKeyFile (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-certificate-manager/ |
H A D | certificate.cpp | 571 fs::path privateKeyFile = fs::path(certInstallPath).parent_path(); in checkAndAppendPrivateKey() local 572 privateKeyFile = privateKeyFile / defaultPrivateKeyFileName; in checkAndAppendPrivateKey() 573 if (!fs::exists(privateKeyFile)) in checkAndAppendPrivateKey() 576 privateKeyFile); in checkAndAppendPrivateKey() 590 privKeyFileStream.open(privateKeyFile); in checkAndAppendPrivateKey() 601 "ERR", e, "SRC", privateKeyFile, "DST", filePath); in checkAndAppendPrivateKey()
|
H A D | certs_manager.cpp | 1039 FILE* privateKeyFile = std::fopen(rsaPrivateKeyFileName.c_str(), "r"); in getRSAKeyPair() local 1040 if (!privateKeyFile) in getRSAKeyPair() 1051 PEM_read_PrivateKey(privateKeyFile, nullptr, nullptr, nullptr), in getRSAKeyPair() 1053 std::fclose(privateKeyFile); in getRSAKeyPair()
|
/openbmc/phosphor-certificate-manager/test/ |
H A D | certs_manager_test.cpp | 95 fs::remove(privateKeyFile); in TearDown() 103 privateKeyFile = "privkey.pem"; in createNewCertificate() 207 std::string certificateFile, CSRFile, privateKeyFile, rsaPrivateKeyFilePath; member in phosphor::certs::__anone8b85a260111::TestCertificates 1002 std::string privateKeyPath(certDir + "/" + privateKeyFile); in TEST_F() 1070 std::string privateKeyPath(certDir + "/" + privateKeyFile); in TEST_F() 1117 std::string privateKeyPath(certDir + "/" + privateKeyFile); in TEST_F() 1163 std::string privateKeyPath(certDir + "/" + privateKeyFile); in TEST_F() 1208 std::string privateKeyPath(certDir + "/" + privateKeyFile); in TEST_F() 1254 std::string privateKeyPath(certDir + "/" + privateKeyFile); in TEST_F() 1303 std::string privateKeyPath(certDir + "/" + privateKeyFile); in TEST_F() [all …]
|