Class EstHttpHandler
java.lang.Object
zeroecho.pki.server.est.EstHttpHandler
- All Implemented Interfaces:
HttpHandler
HTTP handler for the EST RFC 7030 protocol.
URL structure: /.well-known/est/{label}/{operation} where label is
the registered endpoint label and operation is one of
cacerts, simpleenroll, simplereenroll, csrattrs,
serverkeygen.
All EST operations require mutual TLS. Requests without a valid client certificate are rejected with HTTP 401.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionEstHttpHandler(ServerRealmContext realm, EstService service, ServerRuntime runtime, RequestIds requestIds, BooleanSupplier ready, int configuredMaximumBodyBytes, Duration maximumDeadline) Creates an EST boundary with mutual TLS and runtime admission control. -
Method Summary
-
Constructor Details
-
EstHttpHandler
public EstHttpHandler(ServerRealmContext realm, EstService service, ServerRuntime runtime, RequestIds requestIds, BooleanSupplier ready, int configuredMaximumBodyBytes, Duration maximumDeadline) Creates an EST boundary with mutual TLS and runtime admission control.- Parameters:
realm- owning realmservice- EST operationsruntime- admission controllerrequestIds- request correlation policyready- readiness predicateconfiguredMaximumBodyBytes- listener request-body bound, capped at 64 KiBmaximumDeadline- positive execution deadline, at most one hour
-
-
Method Details
-
handle
- Specified by:
handlein interfaceHttpHandler- Throws:
IOException
-