Class GenericAcmeProvider

java.lang.Object
org.shredzone.acme4j.provider.AbstractAcmeProvider
org.shredzone.acme4j.provider.GenericAcmeProvider
All Implemented Interfaces:
AcmeProvider

A generic AcmeProvider. It should be working for all ACME servers complying to the ACME specifications.

The serverUri is either a http or https URI to the server's directory service.

  • Constructor Details

  • Method Details

    • accepts

      public boolean accepts(URI serverUri)
      Description copied from interface: AcmeProvider
      Checks if this provider accepts the given server URI.
      Parameters:
      serverUri - Server URI to test
      Returns:
      true if this provider accepts the server URI, false otherwise
    • resolve

      public URL resolve(URI serverUri)
      Description copied from interface: AcmeProvider
      Resolves the server URI and returns the matching directory URL.
      Parameters:
      serverUri - Server URI
      Returns:
      Resolved directory URL