Class Http01ChallengeProvider
java.lang.Object
zeroecho.pki.server.acme.Http01ChallengeProvider
- All Implemented Interfaces:
AcmeChallengeProvider
Production HTTP-01 validator using policy-checked, IP-pinned port-80 sockets.
-
Nested Class Summary
Nested classes/interfaces inherited from interface AcmeChallengeProvider
AcmeChallengeProvider.Context, AcmeChallengeProvider.Result -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates the stateless built-in HTTP-01 challenge provider. -
Method Summary
Modifier and TypeMethodDescriptionReturns the exact challenge types supported by this provider.id()Returns the stable provider identity.validate(AcmeChallengeProvider.Context context, ProviderConfig configuration, CancellationSignal cancellation) Performs one bounded external validation attempt.
-
Field Details
-
ID
-
-
Constructor Details
-
Http01ChallengeProvider
public Http01ChallengeProvider()Creates the stateless built-in HTTP-01 challenge provider.
-
-
Method Details
-
id
Description copied from interface:AcmeChallengeProviderReturns the stable provider identity.- Specified by:
idin interfaceAcmeChallengeProvider- Returns:
- the identity used by explicit provider configuration
-
challengeTypes
Description copied from interface:AcmeChallengeProviderReturns the exact challenge types supported by this provider.- Specified by:
challengeTypesin interfaceAcmeChallengeProvider- Returns:
- an immutable set of supported challenge types
-
validate
public AcmeChallengeProvider.Result validate(AcmeChallengeProvider.Context context, ProviderConfig configuration, CancellationSignal cancellation) Description copied from interface:AcmeChallengeProviderPerforms one bounded external validation attempt.- Specified by:
validatein interfaceAcmeChallengeProvider- Parameters:
context- immutable challenge and timing inputconfiguration- explicit provider configurationcancellation- signal checked while external work is in progress- Returns:
- a finite, non-sensitive validation result
-