Home
last modified time | relevance | path

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

/openbmc/bmcweb/redfish-core/lib/
H A Dcertificate_service.hpp674 std::optional<std::vector<std::string>> optKeyUsage = in handleGenerateCSRAction() local
693 "KeyUsage", optKeyUsage, // in handleGenerateCSRAction()
759 if (optKeyUsage->empty()) in handleGenerateCSRAction()
761 optKeyUsage->emplace_back("ServerAuthentication"); in handleGenerateCSRAction()
763 else if (optKeyUsage->size() == 1) in handleGenerateCSRAction()
765 if ((*optKeyUsage)[0] != "ServerAuthentication") in handleGenerateCSRAction()
768 (*optKeyUsage)[0], "KeyUsage"); in handleGenerateCSRAction()
782 if (optKeyUsage->empty()) in handleGenerateCSRAction()
784 optKeyUsage->emplace_back("ClientAuthentication"); in handleGenerateCSRAction()
786 else if (optKeyUsage->size() == 1) in handleGenerateCSRAction()
[all …]