Home
last modified time | relevance | path

Searched refs:certType (Results 1 – 8 of 8) sorted by relevance

/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_type_cert.cpp30 auto it = certMap.find(certType); in writeFromMemory()
35 "TYPE", certType); in writeFromMemory()
60 if (certType != PLDM_FILE_TYPE_CERT_SIGNING_REQUEST) in readIntoMemory()
81 if (certType != PLDM_FILE_TYPE_CERT_SIGNING_REQUEST) in read()
97 auto it = certMap.find(certType); in write()
102 "TYPE", certType); in write()
132 if (certType == PLDM_FILE_TYPE_SIGNED_CERT) in write()
220 if (certType == PLDM_FILE_TYPE_CERT_SIGNING_REQUEST) in newFileAvailable()
224 if (certType == PLDM_FILE_TYPE_SIGNED_CERT) in newFileAvailable()
233 else if (certType == PLDM_FILE_TYPE_ROOT_CERT) in newFileAvailable()
[all …]
H A Dfile_io_type_cert.hpp28 FileHandler(fileHandle), certType(fileType) in CertHandler()
64 uint16_t certType; //!< type of the certificate member in pldm::responder::CertHandler
/openbmc/phosphor-certificate-manager/
H A Dcertificate.cpp206 if (certType == CertificateType::authority) in generateCertFilePath()
223 objectPath(objPath), certType(type), certInstallPath(installPath), in Certificate()
262 objectPath(objPath), certType(type), certInstallPath(installPath), in Certificate()
344 if (auto it = appendKeyMap.find(certType); it == appendKeyMap.end()) in install()
347 certificateTypeToString(certType)); in install()
356 if (auto it = typeFuncMap.find(certType); it == typeFuncMap.end()) in install()
359 certificateTypeToString(certType)); in install()
395 if (certType != CertificateType::authority) in install()
399 "TYPE", certificateTypeToString(certType)); in install()
449 if (certType == CertificateType::authority) in storageUpdate()
H A Dcerts_manager.cpp135 objectPath(path), certType(type), unitToRestart(std::move(unit)), in Manager()
146 if (certType == CertificateType::authority) in Manager()
175 if (certType != CertificateType::authority) in Manager()
184 if (certType != CertificateType::authority) in Manager()
254 if (certType != CertificateType::authority && !installedCerts.empty()) in install()
258 else if (certType == CertificateType::authority && in install()
269 bus, certObjectPath, certType, certInstallPath, filePath, in install()
285 if (certType != CertificateType::authority) in installAll()
329 bus, certObjectPath, certType, tempPath, *x509Store, authority, in installAll()
386 if (certType == CertificateType::authority) in deleteAll()
[all …]
H A Dcertificate.hpp296 CertificateType certType; member in phosphor::certs::Certificate
H A Dcerts_manager.hpp317 CertificateType certType; member in phosphor::certs::Manager
/openbmc/u-boot/tools/
H A Dk3_x509template.txt25 certType = INTEGER:TEST_CERT_TYPE
/openbmc/pldm/oem/ibm/test/
H A Dlibpldmresponder_fileio_test.cpp880 auto certType = dynamic_cast<CertHandler*>(handler.get()); in TEST() local
881 ASSERT_TRUE(certType != nullptr); in TEST()
884 certType = dynamic_cast<CertHandler*>(handler.get()); in TEST()
885 ASSERT_TRUE(certType != nullptr); in TEST()
896 certType = dynamic_cast<CertHandler*>(handler.get()); in TEST()
897 ASSERT_TRUE(certType != nullptr); in TEST()