Class Dns01Challenge

    • Method Detail

      • toRRName

        public static String toRRName​(Identifier identifier)
        Converts a domain identifier to the Resource Record name to be used for the DNS TXT record.
        Parameters:
        identifier - Domain Identifier of the domain to be validated
        Returns:
        Resource Record name (e.g. _acme-challenge.www.example.org., note the trailing full stop character).
        Since:
        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.
        Parameters:
        domain - Domain name to be validated
        Returns:
        Resource Record name (e.g. _acme-challenge.www.example.org., note the trailing full stop character).
        Since:
        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)
        Description copied from class: 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.
        Overrides:
        acceptable in class Challenge
        Parameters:
        type - Type to check
        Returns:
        true if acceptable, false if not