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.hpp676 std::optional<std::vector<std::string>> optKeyUsage = in handleGenerateCSRAction() local
695 "KeyUsage", optKeyUsage, // in handleGenerateCSRAction()
761 if (optKeyUsage->empty()) in handleGenerateCSRAction()
763 optKeyUsage->emplace_back("ServerAuthentication"); in handleGenerateCSRAction()
765 else if (optKeyUsage->size() == 1) in handleGenerateCSRAction()
767 if ((*optKeyUsage)[0] != "ServerAuthentication") in handleGenerateCSRAction()
770 (*optKeyUsage)[0], "KeyUsage"); in handleGenerateCSRAction()
784 if (optKeyUsage->empty()) in handleGenerateCSRAction()
786 optKeyUsage->emplace_back("ClientAuthentication"); in handleGenerateCSRAction()
788 else if (optKeyUsage->size() == 1) in handleGenerateCSRAction()
[all …]