Class Challenge

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TokenChallenge

public class Challenge extends AcmeJsonResource
A generic challenge. It can be used as a base class for actual challenge implementations, but it is also used if the ACME server offers a proprietary challenge that is unknown to acme4j.

Subclasses must override acceptable(String) so it only accepts its own type. prepareResponse(JSONBuilder) can be overridden to put all required data to the challenge response.

See Also: