java.lang.Object
org.shredzone.acme4j.AcmeResource
org.shredzone.acme4j.AcmeJsonResource
org.shredzone.acme4j.challenge.Challenge
org.shredzone.acme4j.challenge.TokenChallenge
org.shredzone.acme4j.challenge.Dns01Challenge
- Alle implementierten Schnittstellen:
Serializable,PollableResource
Implements the "dns-01" challenge. It requires a specific DNS record for domain
validation. See the acme4j documentation for a detailed explanation.
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringThe prefix of the domain name to be used for the DNS TXT record.static final StringChallenge type name: "dns-01"Von Klasse geerbte Felder org.shredzone.acme4j.challenge.TokenChallenge
KEY_TOKENVon Klasse geerbte Felder org.shredzone.acme4j.challenge.Challenge
KEY_ERROR, KEY_STATUS, KEY_TYPE, KEY_URL, KEY_VALIDATEDVon Schnittstelle geerbte Felder org.shredzone.acme4j.PollableResource
DEFAULT_RETRY_AFTER -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDns01Challenge(Login login, JSON data) Creates a new genericDns01Challengeobject. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanacceptable(String type) Checks if the type is acceptable to this challenge.Returns the digest string to be set in the domain's_acme-challengeTXT record.static StringConverts a domain identifier to the Resource Record name to be used for the DNS TXT record.static StringtoRRName(Identifier identifier) Converts a domain identifier to the Resource Record name to be used for the DNS TXT record.Von Klasse geerbte Methoden org.shredzone.acme4j.challenge.TokenChallenge
getAuthorization, getToken, keyAuthorizationForVon Klasse geerbte Methoden org.shredzone.acme4j.challenge.Challenge
getError, getStatus, getType, getValidated, prepareResponse, setJSON, trigger, waitForCompletionVon Klasse geerbte Methoden org.shredzone.acme4j.AcmeJsonResource
fetch, getJSON, getRetryAfter, invalidate, isValid, setRetryAfter, updateVon Klasse geerbte Methoden org.shredzone.acme4j.AcmeResource
finalize, getLocation, getLogin, getSession, rebindVon Klasse geerbte Methoden java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.shredzone.acme4j.PollableResource
fetch, waitForStatus
-
Felddetails
-
TYPE
Challenge type name: "dns-01"- Siehe auch:
-
RECORD_NAME_PREFIX
The prefix of the domain name to be used for the DNS TXT record.- Siehe auch:
-
-
Konstruktordetails
-
Dns01Challenge
Creates a new genericDns01Challengeobject.
-
-
Methodendetails
-
toRRName
Converts a domain identifier to the Resource Record name to be used for the DNS TXT record.- Parameter:
identifier- DomainIdentifierof the domain to be validated- Gibt zurück:
- Resource Record name (e.g.
_acme-challenge.www.example.org., note the trailing full stop character). - Seit:
- 2.14
-
toRRName
Converts a domain identifier to the Resource Record name to be used for the DNS TXT record.- Parameter:
domain- Domain name to be validated- Gibt zurück:
- Resource Record name (e.g.
_acme-challenge.www.example.org., note the trailing full stop character). - Seit:
- 2.14
-
getDigest
Returns the digest string to be set in the domain's_acme-challengeTXT record. -
acceptable
Beschreibung aus Klasse kopiert:ChallengeChecks if the type is acceptable to this challenge. This generic class only checks if the type is not blank. Subclasses should instead check if the given type matches expected challenge type.- Setzt außer Kraft:
acceptablein KlasseChallenge- Parameter:
type- Type to check- Gibt zurück:
trueif acceptable,falseif not
-