Lines Matching full:certs

26 namespace certs  namespace
28 constexpr const char* certInstallIntf = "xyz.openbmc_project.Certs.Install";
29 constexpr const char* certReplaceIntf = "xyz.openbmc_project.Certs.Replace";
31 constexpr const char* certPropIntf = "xyz.openbmc_project.Certs.Certificate";
35 "xyz.openbmc_project.Certs.Manager.Server.Https";
37 "xyz.openbmc_project.Certs.Manager.Client.Ldap";
39 "xyz.openbmc_project.Certs.Manager.Authority.Truststore";
40 constexpr const char* baseObjectPath = "/xyz/openbmc_project/certs";
42 "/xyz/openbmc_project/certs/server/https";
43 constexpr const char* ldapObjectPath = "/xyz/openbmc_project/certs/client/ldap";
45 "/xyz/openbmc_project/certs/authority/truststore";
46 } // namespace certs
224 certs::certPropIntf}; in getCertificateList()
251 if (objPath.parent_path() == certs::httpsObjectPath) in getCertificateList()
257 else if (objPath.parent_path() == certs::ldapObjectPath) in getCertificateList()
263 else if (objPath.parent_path() == certs::authorityObjectPath) in getCertificateList()
303 service, objectPath, certs::certPropIntf, in getCertificateProperties()
400 service, objectPath, certs::objDeleteIntf, "Delete"); in deleteCertificate()
465 getCertificateList(asyncResp, certs::baseObjectPath, in handleCertificateLocationsGet()
479 "xyz.openbmc_project.Certs.Error.InvalidCertificate") in handleError()
544 objectPath = sdbusplus::message::object_path(certs::httpsObjectPath) / in handleReplaceCertificateAction()
547 service = certs::httpsServiceName; in handleReplaceCertificateAction()
553 objectPath = sdbusplus::message::object_path(certs::ldapObjectPath) / in handleReplaceCertificateAction()
556 service = certs::ldapServiceName; in handleReplaceCertificateAction()
563 sdbusplus::message::object_path(certs::authorityObjectPath) / id; in handleReplaceCertificateAction()
565 service = certs::authorityServiceName; in handleReplaceCertificateAction()
599 service, objectPath, certs::certReplaceIntf, "Replace", in handleReplaceCertificateAction()
641 service, csrObjPath, "xyz.openbmc_project.Certs.CSR", "CSR"); in getCSR()
721 objectPath = certs::httpsObjectPath; in handleGenerateCSRAction()
722 service = certs::httpsServiceName; in handleGenerateCSRAction()
727 objectPath = certs::ldapObjectPath; in handleGenerateCSRAction()
728 service = certs::ldapServiceName; in handleGenerateCSRAction()
864 if (interface.first == "xyz.openbmc_project.Certs.CSR") in handleGenerateCSRAction()
881 service, objectPath, "xyz.openbmc_project.Certs.CSR.Create", in handleGenerateCSRAction()
941 getCertificateList(asyncResp, certs::httpsObjectPath, in handleHTTPSCertificateCollectionGet()
995 certs::httpsServiceName, certId, certURL, in handleHTTPSCertificateCollectionPost()
1000 certs::httpsServiceName, certs::httpsObjectPath, certs::certInstallIntf, in handleHTTPSCertificateCollectionPost()
1025 sdbusplus::message::object_path(certs::httpsObjectPath) / certId; in handleHTTPSCertificateGet()
1026 getCertificateProperties(asyncResp, objPath, certs::httpsServiceName, in handleHTTPSCertificateGet()
1069 getCertificateList(asyncResp, certs::ldapObjectPath, in handleLDAPCertificateCollectionGet()
1109 certs::ldapServiceName, certId, certURL, in handleLDAPCertificateCollectionPost()
1114 certs::ldapServiceName, certs::ldapObjectPath, certs::certInstallIntf, in handleLDAPCertificateCollectionPost()
1131 sdbusplus::message::object_path(certs::ldapObjectPath) / id; in handleLDAPCertificateGet()
1132 getCertificateProperties(asyncResp, objPath, certs::ldapServiceName, id, in handleLDAPCertificateGet()
1147 sdbusplus::message::object_path(certs::ldapObjectPath) / id; in handleLDAPCertificateDelete()
1149 deleteCertificate(asyncResp, certs::ldapServiceName, objPath); in handleLDAPCertificateDelete()
1200 getCertificateList(asyncResp, certs::authorityObjectPath, in handleTrustStoreCertificateCollectionGet()
1248 certs::authorityServiceName, certId, in handleTrustStoreCertificateCollectionPost()
1253 certs::authorityServiceName, certs::authorityObjectPath, in handleTrustStoreCertificateCollectionPost()
1254 certs::certInstallIntf, "Install", certFile->getCertFilePath()); in handleTrustStoreCertificateCollectionPost()
1278 sdbusplus::message::object_path(certs::authorityObjectPath) / certId; in handleTrustStoreCertificateGet()
1279 getCertificateProperties(asyncResp, objPath, certs::authorityServiceName, in handleTrustStoreCertificateGet()
1301 sdbusplus::message::object_path(certs::authorityObjectPath) / certId; in handleTrustStoreCertificateDelete()
1303 deleteCertificate(asyncResp, certs::authorityServiceName, objPath); in handleTrustStoreCertificateDelete()