Uses of Class
org.shredzone.acme4j.exception.AcmeException
Package
Description
acme4j is a Java client for the ACME protocol.
This package contains all standard challenges, as well as base classes for challenges
that are proprietary to a CA.
This package contains internal classes for connection to the CA, and for handling the
requests and responses.
This package contains all exceptions that can be thrown by acme4j.
Acme Providers are the link between acme4j and the ACME server.
-
Uses of AcmeException in org.shredzone.acme4j
Modifier and TypeMethodDescriptionLogin.bindRenewalInfo
(X509Certificate certificate) Creates a new instance of an existingRenewalInfo
and binds it to this login.void
Order.cancelAutoRenewal()
Cancels an auto-renewing order.void
Changes theKeyPair
associated with the account.void
Account.EditableAccount.commit()
Commits the changes and updates the account.Creates a new account.OrderBuilder.create()
Sends a new order to the server, and returns anOrder
object.AccountBuilder.createLogin
(Session session) Creates a new account.void
Account.deactivate()
Permanently deactivates an account.void
Authorization.deactivate()
Permanently deactivates theAuthorization
.void
Certificate.download()
Downloads the certificate chain.void
Order.execute
(byte[] csr) Finalizes the order (seeOrder.execute(KeyPair)
).void
Finalizes the order.void
Order.execute
(KeyPair domainKeyPair, Consumer<CSRBuilder> builderConsumer) Finalizes the order (seeOrder.execute(KeyPair)
).void
Order.execute
(org.bouncycastle.pkcs.PKCS10CertificationRequest csr) Finalizes the order (seeOrder.execute(KeyPair)
).AcmeJsonResource.fetch()
Updates this resource, by fetching the current resource data from the server.RenewalInfo.fetch()
Session.getMetadata()
Gets the metadata of the provider's directory.Account.preAuthorize
(Identifier identifier) Pre-authorizes anIdentifier
.Account.preAuthorizeDomain
(String domain) Pre-authorizes a domain.Session.resourceUrl
(Resource resource) Session.resourceUrlOptional
(Resource resource) void
Certificate.revoke()
Revokes this certificate.static void
Certificate.revoke
(Login login, X509Certificate cert, RevocationReason reason) Revoke a certificate.void
Certificate.revoke
(RevocationReason reason) Revokes this certificate.static void
Certificate.revoke
(Session session, KeyPair domainKeyPair, X509Certificate cert, RevocationReason reason) Revoke a certificate.void
AcmeJsonResource.update()
Updates this resource, by fetching the current resource data from the server. -
Uses of AcmeException in org.shredzone.acme4j.challenge
-
Uses of AcmeException in org.shredzone.acme4j.connector
Modifier and TypeMethodDescriptiondefault void
Connection.handleRetryAfter
(String message) Deprecated.Connection.readCertificates()
Reads a certificate and its chain of issuers.DefaultConnection.readCertificates()
Connection.readJsonResponse()
Reads a server response as JSON object.DefaultConnection.readJsonResponse()
void
Connection.resetNonce
(Session session) Resets the session nonce, by fetching a new one.void
DefaultConnection.resetNonce
(Session session) int
Connection.sendCertificateRequest
(URL url, Login login) Sends a signed POST-as-GET request for a certificate resource.int
DefaultConnection.sendCertificateRequest
(URL url, Login login) int
Connection.sendRequest
(URL url, Session session, ZonedDateTime ifModifiedSince) Sends a simple GET request.int
DefaultConnection.sendRequest
(URL url, Session session, ZonedDateTime ifModifiedSince) int
Connection.sendSignedPostAsGetRequest
(URL url, Login login) Sends a signed POST-as-GET request.int
DefaultConnection.sendSignedPostAsGetRequest
(URL url, Login login) int
Connection.sendSignedRequest
(URL url, JSONBuilder claims, Login login) Sends a signed POST request.int
Connection.sendSignedRequest
(URL url, JSONBuilder claims, Session session, KeyPair keypair) Sends a signed POST request.int
DefaultConnection.sendSignedRequest
(URL url, JSONBuilder claims, Login login) int
DefaultConnection.sendSignedRequest
(URL url, JSONBuilder claims, Session session, KeyPair keypair) protected int
DefaultConnection.sendSignedRequest
(URL url, JSONBuilder claims, Session session, KeyPair keypair, URL accountLocation, String accept) Sends a signed POST request. -
Uses of AcmeException in org.shredzone.acme4j.exception
Modifier and TypeClassDescriptionclass
A general network error has occured while communicating with the server (e.g.class
A rate limit was exceeded.class
A server side process has not been completed yet.class
The ACME server returned an error.class
The client is not authorized to perform the operation.class
The user is required to take manual action as indicated.ModifierConstructorDescriptionAcmeLazyLoadingException
(Class<? extends AcmeResource> type, URL location, AcmeException cause) Creates a newAcmeLazyLoadingException
.AcmeLazyLoadingException
(AcmeResource resource, AcmeException cause) Creates a newAcmeLazyLoadingException
. -
Uses of AcmeException in org.shredzone.acme4j.provider
Connection.getRetryAfter()
.