Class Metadata


  • public class Metadata
    extends Object
    A collection of metadata related to the CA provider.
    • Constructor Detail

      • Metadata

        public Metadata​(JSON meta)
        Creates a new Metadata instance.
        Parameters:
        meta - JSON map of metadata
    • Method Detail

      • getWebsite

        public Optional<URLgetWebsite()
        Returns an URL of a website providing more information about the ACME server. Empty if not available.
      • getCaaIdentities

        public Collection<StringgetCaaIdentities()
        Returns a collection of hostnames, which the ACME server recognises as referring to itself for the purposes of CAA record validation. Empty if not available.
      • isExternalAccountRequired

        public boolean isExternalAccountRequired()
        Returns whether an external account is required by this CA.
      • isAutoRenewalEnabled

        public boolean isAutoRenewalEnabled()
        Returns whether the CA supports short-term auto-renewal of certificates.
        Since:
        2.3
      • isSubdomainAuthAllowed

        public boolean isSubdomainAuthAllowed()
        Returns whether the CA supports subdomain auth according to RFC9444.
        Since:
        3.3.0
      • getJSON

        public JSON getJSON()
        Returns the JSON representation of the metadata. This is useful for reading proprietary metadata properties.