Simplify the control flow of the FinalizeOrder handler to make it easier to read and reason about: - Move all validation to before we set the order to Processing, and put it all in a single helper funcion. - Move almost all logEvent/trace handling directly into FinalizeOrder so it cannot be missed. - Flatten issueCertificate and issueCertificateInner into a single helper function, now that they're no longer being called from both ACMEv1 and v2 entry points. - Other minor cleanups, such as making SolvedBy not return a pointer and making matchesCSR private. This paves the way for making both issueCertificateInner and failOrder asynchronous, which we plan to do in the near future. Part of #6575 |
||
|---|---|---|
| .. | ||
| proto | ||
| challenges.go | ||
| challenges_test.go | ||
| core_test.go | ||
| interfaces.go | ||
| objects.go | ||
| objects_test.go | ||
| util.go | ||
| util_test.go | ||