Uses of Class
org.shredzone.acme4j.exception.AcmeException
Packages that use 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
Methods in org.shredzone.acme4j that throw AcmeExceptionModifier and TypeMethodDescriptionLogin.bindRenewalInfo(X509Certificate certificate) Creates a new instance of an existingRenewalInfoand binds it to this login.voidOrder.cancelAutoRenewal()Cancels an auto-renewing order.voidChanges theKeyPairassociated with the account.voidAccount.EditableAccount.commit()Commits the changes and updates the account.Creates a new account.OrderBuilder.create()Sends a new order to the server, and returns anOrderobject.AccountBuilder.createLogin(Session session) Creates a new account.voidAccount.deactivate()Permanently deactivates an account.voidAuthorization.deactivate()Permanently deactivates theAuthorization.voidCertificate.download()Downloads the certificate chain.voidOrder.execute(byte[] csr) Finalizes the order (seeOrder.execute(KeyPair)).voidFinalizes the order.voidOrder.execute(KeyPair domainKeyPair, Consumer<CSRBuilder> builderConsumer) Finalizes the order (seeOrder.execute(KeyPair)).voidOrder.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.PollableResource.fetch()Fetches the current status 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) voidCertificate.revoke()Revokes this certificate.static voidCertificate.revoke(Login login, X509Certificate cert, RevocationReason reason) Revoke a certificate.voidCertificate.revoke(RevocationReason reason) Revokes this certificate.static voidCertificate.revoke(Session session, KeyPair domainKeyPair, X509Certificate cert, RevocationReason reason) Revoke a certificate.Authorization.waitForCompletion(Duration timeout) Waits until the authorization is completed.Order.waitForCompletion(Duration timeout) Waits until the order finalization is completed.default StatusPollableResource.waitForStatus(Set<Status> statusSet, Duration timeout) Waits until a terminal status has been reached, by polling until one of the given status or the given timeout has been reached.Order.waitUntilReady(Duration timeout) Waits until the order is ready for finalization. -
Uses of AcmeException in org.shredzone.acme4j.challenge
Methods in org.shredzone.acme4j.challenge that throw AcmeExceptionModifier and TypeMethodDescriptionvoidChallenge.trigger()Triggers thisChallenge.Challenge.waitForCompletion(Duration timeout) Waits until the challenge is completed. -
Uses of AcmeException in org.shredzone.acme4j.connector
Methods in org.shredzone.acme4j.connector that throw AcmeExceptionModifier and TypeMethodDescriptionConnection.readCertificates()Reads a certificate and its chain of issuers.DefaultConnection.readCertificates()Connection.readJsonResponse()Reads a server response as JSON object.DefaultConnection.readJsonResponse()voidConnection.resetNonce(Session session) Resets the session nonce, by fetching a new one.voidDefaultConnection.resetNonce(Session session) intConnection.sendCertificateRequest(URL url, Login login) Sends a signed POST-as-GET request for a certificate resource.intDefaultConnection.sendCertificateRequest(URL url, Login login) intConnection.sendRequest(URL url, Session session, ZonedDateTime ifModifiedSince) Sends a simple GET request.intDefaultConnection.sendRequest(URL url, Session session, ZonedDateTime ifModifiedSince) intConnection.sendSignedPostAsGetRequest(URL url, Login login) Sends a signed POST-as-GET request.intDefaultConnection.sendSignedPostAsGetRequest(URL url, Login login) intConnection.sendSignedRequest(URL url, JSONBuilder claims, Login login) Sends a signed POST request.intConnection.sendSignedRequest(URL url, JSONBuilder claims, Session session, KeyPair keypair) Sends a signed POST request.intDefaultConnection.sendSignedRequest(URL url, JSONBuilder claims, Login login) intDefaultConnection.sendSignedRequest(URL url, JSONBuilder claims, Session session, KeyPair keypair) protected intDefaultConnection.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
Subclasses of AcmeException in org.shredzone.acme4j.exceptionModifier and TypeClassDescriptionclassA general network error has occured while communicating with the server (e.g.classA rate limit was exceeded.classThe ACME server returned an error.classThe client is not authorized to perform the operation.classThe user is required to take manual action as indicated.Constructors in org.shredzone.acme4j.exception with parameters of type AcmeExceptionModifierConstructorDescriptionAcmeLazyLoadingException(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
Methods in org.shredzone.acme4j.provider that throw AcmeException