Klasse Dns01Challenge

Alle implementierten Schnittstellen:
Serializable, PollableResource

public class Dns01Challenge extends TokenChallenge
Implements the "dns-01" challenge. It requires a specific DNS record for domain validation. See the acme4j documentation for a detailed explanation.
Siehe auch:
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • toRRName

      public static String toRRName(Identifier identifier)
      Converts a domain identifier to the Resource Record name to be used for the DNS TXT record.
      Parameter:
      identifier - Domain Identifier of 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

      public static String toRRName(String domain)
      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

      public String getDigest()
      Returns the digest string to be set in the domain's _acme-challenge TXT record.
    • acceptable

      protected boolean acceptable(String type)
      Beschreibung aus Klasse kopiert: Challenge
      Checks 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:
      acceptable in Klasse Challenge
      Parameter:
      type - Type to check
      Gibt zurück:
      true if acceptable, false if not