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()
97 auto it = certMap.find(certType); in write()
102 "TYPE", certType); in write()
132 if (certType == PLDM_FILE_TYPE_SIGNED_CERT) in write()
224 if (certType == PLDM_FILE_TYPE_SIGNED_CERT) in newFileAvailable()
233 else if (certType == PLDM_FILE_TYPE_ROOT_CERT) in newFileAvailable()
242 "TYPE", certType, "ERROR_NUM", errno); in newFileAvailable()
264 if (certType == PLDM_FILE_TYPE_SIGNED_CERT) in newFileAvailableWithMetaData()
297 else if (certType == PLDM_FILE_TYPE_ROOT_CERT) in newFileAvailableWithMetaData()
[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.cpp212 if (certType == CertificateType::authority) in generateCertFilePath()
229 objectPath(objPath), certType(type), certInstallPath(installPath), in Certificate()
268 objectPath(objPath), certType(type), certInstallPath(installPath), in Certificate()
350 if (auto it = appendKeyMap.find(certType); it == appendKeyMap.end()) in install()
353 certificateTypeToString(certType)); in install()
362 if (auto it = typeFuncMap.find(certType); it == typeFuncMap.end()) in install()
365 certificateTypeToString(certType)); in install()
401 if (certType != CertificateType::authority) in install()
405 "TYPE", certificateTypeToString(certType)); in install()
455 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()
258 else if (certType == CertificateType::authority && in install()
269 bus, certObjectPath, certType, certInstallPath, filePath, in install()
285 if (certType != CertificateType::authority) in installAll()
386 if (certType == CertificateType::authority) in deleteAll()
931 if (certType == CertificateType::authority) in createCertificates()
969 certType, certInstallPath, path.path(), in createCertificates()
[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()