Package | Description |
---|---|
org.shredzone.acme4j | |
org.shredzone.acme4j.challenge | |
org.shredzone.acme4j.connector | |
org.shredzone.acme4j.provider |
Modifier and Type | Method and Description |
---|---|
protected Session |
AcmeResource.getSession()
Gets the
Session this resource is bound with. |
Modifier and Type | Method and Description |
---|---|
static Authorization |
Authorization.bind(Session session,
URL location)
Creates a new instance of
Authorization and binds it to the
Session . |
static Registration |
Registration.bind(Session session,
URL location)
Creates a new instance of
Registration and binds it to the Session . |
static Certificate |
Certificate.bind(Session session,
URL location)
Creates a new instance of
Certificate and binds it to the Session . |
Registration |
RegistrationBuilder.create(Session session)
Creates a new account.
|
void |
AcmeResource.rebind(Session session)
Rebinds this resource to a
Session . |
static void |
Certificate.revoke(Session session,
X509Certificate cert,
RevocationReason reason)
Revoke a certificate.
|
protected void |
AcmeResource.setSession(Session session)
Sets a new
Session . |
Constructor and Description |
---|
AcmeResource(Session session)
Create a new
AcmeResource . |
Authorization(Session session,
URL location) |
Certificate(Session session,
URL certUrl) |
Certificate(Session session,
URL certUrl,
URL chainUrl,
X509Certificate cert) |
Registration(Session session,
URL location) |
Registration(Session session,
URL location,
URI agreement) |
Modifier and Type | Method and Description |
---|---|
static <T extends Challenge> |
Challenge.bind(Session session,
URL location)
Returns a
Challenge object of an existing challenge. |
Constructor and Description |
---|
Challenge(Session session)
Creates a new generic
Challenge object. |
Dns01Challenge(Session session)
Creates a new generic
Dns01Challenge object. |
Http01Challenge(Session session)
Creates a new generic
Http01Challenge object. |
TokenChallenge(Session session)
Creates a new generic
TokenChallenge object. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultConnection.sendRequest(URL url,
Session session) |
void |
Connection.sendRequest(URL url,
Session session)
Sends a simple GET request.
|
void |
DefaultConnection.sendSignedRequest(URL url,
JSONBuilder claims,
Session session) |
void |
Connection.sendSignedRequest(URL url,
JSONBuilder claims,
Session session)
Sends a signed POST request.
|
void |
DefaultConnection.updateSession(Session session) |
void |
Connection.updateSession(Session session)
Updates a
Session by evaluating the HTTP response header. |
Constructor and Description |
---|
ResourceIterator(Session session,
String field,
URL start,
BiFunction<Session,URL,T> creator)
Creates a new
ResourceIterator . |
Constructor and Description |
---|
ResourceIterator(Session session,
String field,
URL start,
BiFunction<Session,URL,T> creator)
Creates a new
ResourceIterator . |
Modifier and Type | Method and Description |
---|---|
Challenge |
AbstractAcmeProvider.createChallenge(Session session,
String type) |
Challenge |
AcmeProvider.createChallenge(Session session,
String type)
Creates a
Challenge instance for the given challenge type. |
JSON |
AbstractAcmeProvider.directory(Session session,
URI serverUri) |
JSON |
AcmeProvider.directory(Session session,
URI serverUri)
Returns the provider's directory.
|
Copyright © 2015–2019. All rights reserved.