MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / finalizeOrder

Method finalizeOrder

src/Server/ACME/API.cpp:304–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304bool API::finalizeOrder(const Poco::URI & finalize_url, const Domains & domains, const KeyPair & pkey) const
305{
306 EVP_PKEY * key = static_cast<EVP_PKEY *>(pkey);
307
308 std::string csr = generateCSR(domains, key);
309 auto payload = R"({"csr":")" + csr + R"("})";
310
311 doJWSRequest(finalize_url, payload, nullptr);
312
313 return true;
314}
315
316void API::processAuthorization(const Poco::URI & auth_url, OrderCallback callback) const
317{

Callers 1

Calls 1

generateCSRFunction · 0.85

Tested by

no test coverage detected