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 the own type. prepareResponse(JSONBuilder) should be overridden to put all required data to the response.

See Also: