public interface AcmeClientProvider
AcmeClientProvider
creates AcmeClient
instances to be used for
communicating with the ACME server. Implementations handle individual features of each
ACME server.
Provider implementations must be registered with Java's ServiceLoader
.
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(URI serverUri)
Checks if this provider accepts the given server URI.
|
AcmeClient |
connect(URI serverUri)
Connects to an
AcmeClient for communication with the ACME server. |
Challenge |
createChallenge(String type)
Creates a
Challenge instance that is able to respond to the challenge of
the given type. |
Connection |
createConnection()
Creates a
Connection for communication with the ACME server. |
boolean accepts(URI serverUri)
serverUri
- Server URI to testtrue
if this provider accepts the server URI, false
otherwiseAcmeClient connect(URI serverUri)
AcmeClient
for communication with the ACME server.serverUri
- Server URI to connect toAcmeClient
connected to the serverChallenge createChallenge(String type)
Challenge
instance that is able to respond to the challenge of
the given type.type
- Challenge type nameChallenge
instance, or null
if the type is not
knownConnection createConnection()
Connection
for communication with the ACME server.Connection
that was generatediizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.