public class Dns01Challenge extends TokenChallenge
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
Challenge type name: "dns-01"
|
KEY_KEY_AUTHORIZATION, KEY_TOKEN
KEY_ERROR, KEY_STATUS, KEY_TYPE, KEY_URI, KEY_VALIDATED
Constructor and Description |
---|
Dns01Challenge(Session session)
Creates a new generic
Dns01Challenge object. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptable(String type)
Checks if the type is acceptable to this challenge.
|
String |
getDigest()
Returns the digest string to be set in the domain's
_acme-challenge TXT
record. |
authorize, computeAuthorization, getAuthorization, getToken, respond
bind, getError, getJSON, getLocation, getStatus, getType, getValidated, trigger, unmarshall, update
getSession, rebind, setLocation, setSession
public static final String TYPE
public Dns01Challenge(Session session)
Dns01Challenge
object.session
- Session
to bind to.public String getDigest()
_acme-challenge
TXT
record.protected boolean acceptable(String type)
Challenge
acceptable
in class Challenge
type
- Type to checktrue
if acceptable, false
if notCopyright © 2015–2019. All rights reserved.