Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractAcmeProvider - Class in org.shredzone.acme4j.provider
Abstract implementation of AcmeProvider.
AbstractAcmeProvider() - Constructor for class org.shredzone.acme4j.provider.AbstractAcmeProvider
 
accept(int...) - Method in interface org.shredzone.acme4j.connector.Connection
Checks if the HTTP response status is in the given list of acceptable HTTP states, otherwise raises an AcmeException matching the error.
accept(int...) - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
acceptable(String) - Method in class org.shredzone.acme4j.challenge.Challenge
Checks if the type is acceptable to this challenge.
acceptable(String) - Method in class org.shredzone.acme4j.challenge.Dns01Challenge
 
acceptable(String) - Method in class org.shredzone.acme4j.challenge.Http01Challenge
 
acceptAgreement(Registration, URI) - Method in class org.shredzone.acme4j.ClientTest
Presents the user a link to the Terms of Service, and asks for confirmation.
acceptChallenge(String) - Method in class org.shredzone.acme4j.ClientTest
Presents the instructions for preparing the challenge validation, and waits for dismissal.
accepts(URI) - Method in interface org.shredzone.acme4j.provider.AcmeProvider
Checks if this provider accepts the given server URI.
accepts(URI) - Method in class org.shredzone.acme4j.provider.GenericAcmeProvider
 
accepts(URI) - Method in class org.shredzone.acme4j.provider.letsencrypt.LetsEncryptAcmeProvider
 
AcmeAgreementRequiredException - Exception in org.shredzone.acme4j.exception
An exception that is thrown when the client needs to accept the terms of service in order to continue.
AcmeAgreementRequiredException(String, String, URI, URI) - Constructor for exception org.shredzone.acme4j.exception.AcmeAgreementRequiredException
AcmeConflictException - Exception in org.shredzone.acme4j.exception
An exception that is thrown when there is a conflict with the request.
AcmeConflictException(String, URL) - Constructor for exception org.shredzone.acme4j.exception.AcmeConflictException
Creates a new AcmeConflictException.
AcmeException - Exception in org.shredzone.acme4j.exception
A generic ACME exception.
AcmeException() - Constructor for exception org.shredzone.acme4j.exception.AcmeException
Creates a generic AcmeException.
AcmeException(String) - Constructor for exception org.shredzone.acme4j.exception.AcmeException
Creates a generic AcmeException.
AcmeException(String, Throwable) - Constructor for exception org.shredzone.acme4j.exception.AcmeException
Creates a generic AcmeException.
AcmeNetworkException - Exception in org.shredzone.acme4j.exception
This exception is thrown when a network error occured while communicating with the server.
AcmeNetworkException(IOException) - Constructor for exception org.shredzone.acme4j.exception.AcmeNetworkException
Create a new AcmeNetworkException.
AcmeProtocolException - Exception in org.shredzone.acme4j.exception
This runtime exception is thrown on ACME protocol errors that should not occur.
AcmeProtocolException(String) - Constructor for exception org.shredzone.acme4j.exception.AcmeProtocolException
Creates a new AcmeProtocolException.
AcmeProtocolException(String, Throwable) - Constructor for exception org.shredzone.acme4j.exception.AcmeProtocolException
Creates a new AcmeProtocolException.
AcmeProvider - Interface in org.shredzone.acme4j.provider
An AcmeProvider provides methods to be used for communicating with the ACME server.
AcmeRateLimitExceededException - Exception in org.shredzone.acme4j.exception
An exception that is thrown when a rate limit was exceeded.
AcmeRateLimitExceededException(String, String, Instant, Collection<URI>) - Constructor for exception org.shredzone.acme4j.exception.AcmeRateLimitExceededException
AcmeResource - Class in org.shredzone.acme4j
A generic ACME resource.
AcmeResource(Session) - Constructor for class org.shredzone.acme4j.AcmeResource
Create a new AcmeResource.
AcmeRetryAfterException - Exception in org.shredzone.acme4j.exception
This exception is thrown when a server side process has not been completed yet, and the server returned an estimated retry date.
AcmeRetryAfterException(String, Instant) - Constructor for exception org.shredzone.acme4j.exception.AcmeRetryAfterException
AcmeServerException - Exception in org.shredzone.acme4j.exception
An exception that is thrown when the ACME server returned an error.
AcmeServerException(String, String) - Constructor for exception org.shredzone.acme4j.exception.AcmeServerException
Creates a new AcmeServerException.
AcmeUnauthorizedException - Exception in org.shredzone.acme4j.exception
An exception that is thrown when the client is not authorized.
AcmeUnauthorizedException(String, String) - Constructor for exception org.shredzone.acme4j.exception.AcmeUnauthorizedException
AcmeUtils - Class in org.shredzone.acme4j.toolbox
Contains utility methods that are frequently used for the ACME protocol.
addContact(URI) - Method in class org.shredzone.acme4j.Registration.EditableRegistration
Adds a new Contact to the registration.
addContact(String) - Method in class org.shredzone.acme4j.Registration.EditableRegistration
Adds a new Contact to the registration.
addContact(URI) - Method in class org.shredzone.acme4j.RegistrationBuilder
Add a contact URI to the list of contacts.
addContact(String) - Method in class org.shredzone.acme4j.RegistrationBuilder
Add a contact address to the list of contacts.
addDomain(String) - Method in class org.shredzone.acme4j.util.CSRBuilder
Adds a domain name to the CSR.
addDomains(Collection<String>) - Method in class org.shredzone.acme4j.util.CSRBuilder
Adds a Collection of domains.
addDomains(String...) - Method in class org.shredzone.acme4j.util.CSRBuilder
Adds multiple domain names.
array(String, Object...) - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Puts an array.
asArray() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Returns the value as JSON array.
asInstant() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Returns the value as Instant.
asInt() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Returns the value as int.
asJSON() - Method in class org.shredzone.acme4j.Problem
Returns the problem object, to access custom fields.
asObject() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Returns the value as JSON object.
asProblem() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Returns the value as Problem.
asString() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Returns the value as String.
asURI() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Returns the value as URI.
asURL() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Returns the value as URL.
Authorization - Class in org.shredzone.acme4j
Represents an authorization request at the ACME server.
Authorization(Session, URL) - Constructor for class org.shredzone.acme4j.Authorization
 
authorize() - Method in class org.shredzone.acme4j.challenge.Challenge
Callback that is invoked when the challenge is supposed to compute its authorization data.
authorize() - Method in class org.shredzone.acme4j.challenge.TokenChallenge
 
authorizeDomain(String) - Method in class org.shredzone.acme4j.Registration
Authorizes a domain.

B

base64UrlEncode(byte[]) - Static method in class org.shredzone.acme4j.toolbox.AcmeUtils
Base64 encodes the given byte array, using URL style encoding.
bind(Session, URL) - Static method in class org.shredzone.acme4j.Authorization
Creates a new instance of Authorization and binds it to the Session.
bind(Session, URL) - Static method in class org.shredzone.acme4j.Certificate
Creates a new instance of Certificate and binds it to the Session.
bind(Session, URL) - Static method in class org.shredzone.acme4j.challenge.Challenge
Returns a Challenge object of an existing challenge.
bind(Session, URL) - Static method in class org.shredzone.acme4j.Registration
Creates a new instance of Registration and binds it to the Session.

C

Certificate - Class in org.shredzone.acme4j
Represents a certificate and its certificate chain.
Certificate(Session, URL) - Constructor for class org.shredzone.acme4j.Certificate
 
Certificate(Session, URL, URL, X509Certificate) - Constructor for class org.shredzone.acme4j.Certificate
 
CertificateUtils - Class in org.shredzone.acme4j.util
Utility class offering convenience methods for certificates.
Challenge - Class in org.shredzone.acme4j.challenge
A generic challenge.
Challenge(Session) - Constructor for class org.shredzone.acme4j.challenge.Challenge
Creates a new generic Challenge object.
changeKey(KeyPair) - Method in class org.shredzone.acme4j.Registration
Changes the KeyPair associated with the registration.
ClientTest - Class in org.shredzone.acme4j
A simple client test tool.
ClientTest() - Constructor for class org.shredzone.acme4j.ClientTest
 
close() - Method in interface org.shredzone.acme4j.connector.Connection
Closes the Connection, releasing all resources.
close() - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
code(int) - Static method in enum org.shredzone.acme4j.RevocationReason
Returns the RevocationReason that matches the reason code.
commit() - Method in class org.shredzone.acme4j.Registration.EditableRegistration
Commits the changes and updates the account.
computeAuthorization() - Method in class org.shredzone.acme4j.challenge.TokenChallenge
Computes the authorization string.
configure(HttpURLConnection) - Method in class org.shredzone.acme4j.connector.HttpConnector
Configures the new HttpURLConnection.
conn - Variable in class org.shredzone.acme4j.connector.DefaultConnection
 
connect() - Method in class org.shredzone.acme4j.provider.AbstractAcmeProvider
 
connect() - Method in interface org.shredzone.acme4j.provider.AcmeProvider
Creates a Connection for communication with the ACME server.
Connection - Interface in org.shredzone.acme4j.connector
Connects to the ACME server and offers different methods for invoking the API.
contains(String) - Method in class org.shredzone.acme4j.toolbox.JSON
Checks if this object contains the given key.
create(Session) - Method in class org.shredzone.acme4j.RegistrationBuilder
Creates a new account.
createChallenge(Session, String) - Method in class org.shredzone.acme4j.provider.AbstractAcmeProvider
 
createChallenge(Session, String) - Method in interface org.shredzone.acme4j.provider.AcmeProvider
Creates a Challenge instance for the given challenge type.
createChallenge(JSON) - Method in class org.shredzone.acme4j.Session
Creates a Challenge instance for the given challenge data.
createECKeyPair(String) - Static method in class org.shredzone.acme4j.util.KeyPairUtils
Creates a new elliptic curve KeyPair.
createHttpConnector() - Method in class org.shredzone.acme4j.provider.AbstractAcmeProvider
Creates a HttpConnector.
createKeyPair(int) - Static method in class org.shredzone.acme4j.util.KeyPairUtils
Creates a new RSA KeyPair.
CSRBuilder - Class in org.shredzone.acme4j.util
Generator for a CSR (Certificate Signing Request) suitable for ACME servers.
CSRBuilder() - Constructor for class org.shredzone.acme4j.util.CSRBuilder
 

D

deactivate() - Method in class org.shredzone.acme4j.Authorization
Permanently deactivates the Authorization.
deactivate() - Method in class org.shredzone.acme4j.Registration
Permanently deactivates an account.
DefaultConnection - Class in org.shredzone.acme4j.connector
Default implementation of Connection.
DefaultConnection(HttpConnector) - Constructor for class org.shredzone.acme4j.connector.DefaultConnection
Creates a new DefaultConnection.
defaultUserAgent() - Static method in class org.shredzone.acme4j.connector.HttpConnector
Returns the default User-Agent to be used.
directory(Session, URI) - Method in class org.shredzone.acme4j.provider.AbstractAcmeProvider
 
directory(Session, URI) - Method in interface org.shredzone.acme4j.provider.AcmeProvider
Returns the provider's directory.
directoryCacheExpiry - Variable in class org.shredzone.acme4j.Session
 
Dns01Challenge - Class in org.shredzone.acme4j.challenge
Implements the "dns-01" challenge.
Dns01Challenge(Session) - Constructor for class org.shredzone.acme4j.challenge.Dns01Challenge
Creates a new generic Dns01Challenge object.
dnsChallenge(Authorization, String) - Method in class org.shredzone.acme4j.ClientTest
Prepares a DNS challenge.
download() - Method in class org.shredzone.acme4j.Certificate
Downloads the certificate.
downloadChain() - Method in class org.shredzone.acme4j.Certificate
Downloads the issuer chain.
downloadFullChain() - Method in class org.shredzone.acme4j.Certificate
Downloads the certificate and the corresponding issuer chain.

E

empty() - Static method in class org.shredzone.acme4j.toolbox.JSON
Returns a JSON of an empty document.
equals(Object) - Method in class org.shredzone.acme4j.toolbox.JSON.Value
 

F

fetchCertificate(Collection<String>) - Method in class org.shredzone.acme4j.ClientTest
Generates a certificate for the given domains.
findChallenge(String) - Method in class org.shredzone.acme4j.Authorization
Finds a single Challenge of the given type.
findCombination(String...) - Method in class org.shredzone.acme4j.Authorization
Finds a combination of Challenge types that the client supports.

G

GenericAcmeProvider - Class in org.shredzone.acme4j.provider
A generic AcmeProvider.
GenericAcmeProvider() - Constructor for class org.shredzone.acme4j.provider.GenericAcmeProvider
 
get(int) - Method in class org.shredzone.acme4j.toolbox.JSON.Array
Gets the JSON.Value at the given index.
get(String) - Method in class org.shredzone.acme4j.toolbox.JSON
Returns the JSON.Value of the given key.
getAcmeErrorType() - Method in exception org.shredzone.acme4j.exception.AcmeServerException
Returns the ACME error type.
getAgreement() - Method in class org.shredzone.acme4j.Registration
Returns the URI of the agreement document the user is required to accept.
getAgreementUri() - Method in exception org.shredzone.acme4j.exception.AcmeAgreementRequiredException
Returns the URI of the agreement document to accept, or null if the server did not provide a link to such a document.
getAuthorization() - Method in class org.shredzone.acme4j.challenge.Http01Challenge
Returns the authorization string to be used for the response.
getAuthorization() - Method in class org.shredzone.acme4j.challenge.TokenChallenge
Gets the authorization.
getAuthorizations() - Method in class org.shredzone.acme4j.Registration
Returns an Iterator of all Authorization belonging to this Registration.
getCaaIdentities() - Method in class org.shredzone.acme4j.Metadata
Returns a collection of hostnames, which the ACME server recognises as referring to itself for the purposes of CAA record validation.
getCertificates() - Method in class org.shredzone.acme4j.Registration
Returns an Iterator of all Certificate belonging to this Registration.
getChainLocation() - Method in class org.shredzone.acme4j.Certificate
Returns the URL of the certificate chain.
getChallenges() - Method in class org.shredzone.acme4j.Authorization
Gets a list of all challenges offered by the server.
getCombinations() - Method in class org.shredzone.acme4j.Authorization
Gets all combinations of challenges supported by the server.
getContacts() - Method in class org.shredzone.acme4j.Registration.EditableRegistration
Returns the list of all contact URIs for modification.
getContacts() - Method in class org.shredzone.acme4j.Registration
List of contact addresses (emails, phone numbers etc).
getContentType(String) - Static method in class org.shredzone.acme4j.toolbox.AcmeUtils
Extracts the content type of a Content-Type header.
getCSR() - Method in class org.shredzone.acme4j.util.CSRBuilder
Gets the PKCS#10 certification request.
getDetail() - Method in class org.shredzone.acme4j.Problem
Returns a human-readable description of the problem.
getDigest() - Method in class org.shredzone.acme4j.challenge.Dns01Challenge
Returns the digest string to be set in the domain's _acme-challenge TXT record.
getDocuments() - Method in exception org.shredzone.acme4j.exception.AcmeRateLimitExceededException
Collection of URIs pointing to documents about the rate limit that was hit.
getDomain() - Method in class org.shredzone.acme4j.Authorization
Gets the domain name to be authorized.
getEncoded() - Method in class org.shredzone.acme4j.util.CSRBuilder
Gets an encoded PKCS#10 certification request.
getError() - Method in class org.shredzone.acme4j.challenge.Challenge
Returns the reason why the challenge failed, if returned by the server.
getExpires() - Method in class org.shredzone.acme4j.Authorization
Gets the expiry date of the authorization, if set by the server.
getInstance() - Method in exception org.shredzone.acme4j.exception.AcmeAgreementRequiredException
Returns the URI of a document showing a human how to agree to the terms and conditions, or null if the server did not provide such a link.
getJSON() - Method in class org.shredzone.acme4j.challenge.Challenge
Returns the JSON representation of the challenge data.
getJSON() - Method in class org.shredzone.acme4j.Metadata
Returns the JSON representation of the metadata.
getKeyPair() - Method in class org.shredzone.acme4j.Session
Gets the KeyPair of the ACME account.
getLink(String) - Method in interface org.shredzone.acme4j.connector.Connection
Gets a relation link from the header.
getLink(String) - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
getLinkAsURI(String) - Method in interface org.shredzone.acme4j.connector.Connection
Gets a relation link from the header.
getLinkAsURI(String) - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
getLocale() - Method in class org.shredzone.acme4j.Session
Gets the current locale of this session.
getLocation() - Method in class org.shredzone.acme4j.AcmeResource
Gets the resource's location.
getLocation() - Method in class org.shredzone.acme4j.challenge.Challenge
Returns the location URL of the challenge.
getLocation() - Method in interface org.shredzone.acme4j.connector.Connection
Gets a location from the Location header.
getLocation() - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
getLocation() - Method in exception org.shredzone.acme4j.exception.AcmeConflictException
Location of the conflicting resource.
getMetadata() - Method in class org.shredzone.acme4j.Session
Gets the metadata of the provider's directory.
getNonce() - Method in class org.shredzone.acme4j.Session
Gets the last nonce, or null if the session is new.
getReasonCode() - Method in enum org.shredzone.acme4j.RevocationReason
Returns the reason code as defined in RFC 5280.
getRetryAfter() - Method in exception org.shredzone.acme4j.exception.AcmeRateLimitExceededException
Returns the moment the request is expected to succeed again.
getRetryAfter() - Method in exception org.shredzone.acme4j.exception.AcmeRetryAfterException
Returns the retry-after date returned by the server.
getServerUri() - Method in class org.shredzone.acme4j.Session
Gets the ACME server URI of this session.
getSession() - Method in class org.shredzone.acme4j.AcmeResource
Gets the Session this resource is bound with.
getStatus() - Method in class org.shredzone.acme4j.Authorization
Gets the authorization status.
getStatus() - Method in class org.shredzone.acme4j.challenge.Challenge
Returns the current status of the challenge.
getStatus() - Method in class org.shredzone.acme4j.Registration
Returns the current status of the registration.
getTermsOfService() - Method in class org.shredzone.acme4j.Metadata
Returns an URI to the current terms of service, or null if not available.
getToken() - Method in class org.shredzone.acme4j.challenge.Http01Challenge
Returns the token to be used for this challenge.
getToken() - Method in class org.shredzone.acme4j.challenge.TokenChallenge
Gets the token.
getType() - Method in class org.shredzone.acme4j.challenge.Challenge
Returns the challenge type by name (e.g.
getType() - Method in exception org.shredzone.acme4j.exception.AcmeServerException
Returns the error type.
getType() - Method in class org.shredzone.acme4j.Problem
Returns the problem type.
getValidated() - Method in class org.shredzone.acme4j.challenge.Challenge
Returns the validation date, if returned by the server.
getWebsite() - Method in class org.shredzone.acme4j.Metadata
Returns an URI to a website providing more information about the ACME server.

H

handleRetryAfter(String) - Method in interface org.shredzone.acme4j.connector.Connection
Throws an AcmeRetryAfterException if the last status was HTTP Accepted and a Retry-After header was received.
handleRetryAfter(String) - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
hashCode() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
 
hasNext() - Method in class org.shredzone.acme4j.connector.ResourceIterator
Checks if there is another object in the result.
hexEncode(byte[]) - Static method in class org.shredzone.acme4j.toolbox.AcmeUtils
Hex encodes the given byte array.
Http01Challenge - Class in org.shredzone.acme4j.challenge
Implements the "http-01" challenge.
Http01Challenge(Session) - Constructor for class org.shredzone.acme4j.challenge.Http01Challenge
Creates a new generic Http01Challenge object.
httpChallenge(Authorization, String) - Method in class org.shredzone.acme4j.ClientTest
Prepares a HTTP challenge.
httpConnector - Variable in class org.shredzone.acme4j.connector.DefaultConnection
 
HttpConnector - Class in org.shredzone.acme4j.connector
A generic HTTP connector.
HttpConnector() - Constructor for class org.shredzone.acme4j.connector.HttpConnector
 

I

iterator() - Method in class org.shredzone.acme4j.toolbox.JSON.Array
Creates a new Iterator that iterates over the array JSON.Value.

J

JSON - Class in org.shredzone.acme4j.toolbox
A model containing a JSON result.
JSON.Array - Class in org.shredzone.acme4j.toolbox
Represents a JSON array.
JSON.Value - Class in org.shredzone.acme4j.toolbox
A single JSON value.
JSONBuilder - Class in org.shredzone.acme4j.toolbox
Builder for JSON structures.
JSONBuilder() - Constructor for class org.shredzone.acme4j.toolbox.JSONBuilder
 

K

KEY_ERROR - Static variable in class org.shredzone.acme4j.challenge.Challenge
 
KEY_KEY_AUTHORIZATION - Static variable in class org.shredzone.acme4j.challenge.TokenChallenge
 
KEY_STATUS - Static variable in class org.shredzone.acme4j.challenge.Challenge
 
KEY_TOKEN - Static variable in class org.shredzone.acme4j.challenge.TokenChallenge
 
KEY_TYPE - Static variable in class org.shredzone.acme4j.challenge.Challenge
 
KEY_URI - Static variable in class org.shredzone.acme4j.challenge.Challenge
 
KEY_VALIDATED - Static variable in class org.shredzone.acme4j.challenge.Challenge
 
keyAlgorithm(JsonWebKey) - Static method in class org.shredzone.acme4j.toolbox.AcmeUtils
Analyzes the key used in the JsonWebKey, and returns the key algorithm identifier for JsonWebSignature.
KeyPairUtils - Class in org.shredzone.acme4j.util
Utility class offering convenience methods for KeyPair.
keySet() - Method in class org.shredzone.acme4j.toolbox.JSON
Returns a set of all keys of this object.

L

LetsEncryptAcmeProvider - Class in org.shredzone.acme4j.provider.letsencrypt
An AcmeProvider for Let's Encrypt.
LetsEncryptAcmeProvider() - Constructor for class org.shredzone.acme4j.provider.letsencrypt.LetsEncryptAcmeProvider
 
load() - Method in class org.shredzone.acme4j.Authorization
Lazily updates the object's state when one of the getters is invoked.
load() - Method in class org.shredzone.acme4j.Registration
Lazily updates the object's state when one of the getters is invoked.

M

main(String...) - Static method in class org.shredzone.acme4j.ClientTest
Invokes this example.
Metadata - Class in org.shredzone.acme4j
Contains metadata related to the provider.
Metadata(JSON) - Constructor for class org.shredzone.acme4j.Metadata
Creates a new Metadata instance.
modify() - Method in class org.shredzone.acme4j.Registration
Modifies the registration data of the account.

N

next() - Method in class org.shredzone.acme4j.connector.ResourceIterator
Returns the next object of the result.

O

object(String) - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Creates an object for the given key.
openConnection(URL) - Method in class org.shredzone.acme4j.connector.HttpConnector
Opens a HttpURLConnection to the given URL.
org.shredzone.acme4j - package org.shredzone.acme4j
 
org.shredzone.acme4j.challenge - package org.shredzone.acme4j.challenge
 
org.shredzone.acme4j.connector - package org.shredzone.acme4j.connector
 
org.shredzone.acme4j.exception - package org.shredzone.acme4j.exception
 
org.shredzone.acme4j.provider - package org.shredzone.acme4j.provider
 
org.shredzone.acme4j.provider.letsencrypt - package org.shredzone.acme4j.provider.letsencrypt
 
org.shredzone.acme4j.toolbox - package org.shredzone.acme4j.toolbox
 
org.shredzone.acme4j.util - package org.shredzone.acme4j.util
 

P

parse(String) - Static method in enum org.shredzone.acme4j.Status
Parses the string and returns a corresponding Status object.
parse(String, Status) - Static method in enum org.shredzone.acme4j.Status
Parses the string and returns a corresponding Status object.
parse(InputStream) - Static method in class org.shredzone.acme4j.toolbox.JSON
Parses JSON from an InputStream.
parse(String) - Static method in class org.shredzone.acme4j.toolbox.JSON
Parses JSON from a String.
parseTimestamp(String) - Static method in class org.shredzone.acme4j.toolbox.AcmeUtils
Parses a RFC 3339 formatted date.
path() - Method in enum org.shredzone.acme4j.connector.Resource
Returns the resource path.
Problem - Class in org.shredzone.acme4j
Represents a JSON Problem.
Problem(JSON) - Constructor for class org.shredzone.acme4j.Problem
Creates a new Problem object.
provider() - Method in class org.shredzone.acme4j.Session
Returns the AcmeProvider that is used for this session.
put(String, Object) - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Puts a property.
put(String, Instant) - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Puts an Instant to the JSON.
putBase64(String, byte[]) - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Puts binary data to the JSON.
putKey(String, PublicKey) - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Puts a Key into the claim.
putResource(String) - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Puts a resource.
putResource(Resource) - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Puts a resource.

R

readCertificate() - Method in interface org.shredzone.acme4j.connector.Connection
Reads a certificate.
readCertificate() - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
readCSR(InputStream) - Static method in class org.shredzone.acme4j.util.CertificateUtils
Reads a CSR PEM file.
readJsonResponse() - Method in interface org.shredzone.acme4j.connector.Connection
Reads a server response as JSON data.
readJsonResponse() - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
readKeyPair(Reader) - Static method in class org.shredzone.acme4j.util.KeyPairUtils
Reads a KeyPair from a PEM file.
readX509Certificate(InputStream) - Static method in class org.shredzone.acme4j.util.CertificateUtils
Reads an X509Certificate PEM file from an InputStream.
rebind(Session) - Method in class org.shredzone.acme4j.AcmeResource
Rebinds this resource to a Session.
Registration - Class in org.shredzone.acme4j
Represents a registration at the ACME server.
Registration(Session, URL) - Constructor for class org.shredzone.acme4j.Registration
 
Registration(Session, URL, URI) - Constructor for class org.shredzone.acme4j.Registration
 
Registration.EditableRegistration - Class in org.shredzone.acme4j
Editable Registration.
RegistrationBuilder - Class in org.shredzone.acme4j
A builder for a new account registration.
RegistrationBuilder() - Constructor for class org.shredzone.acme4j.RegistrationBuilder
 
remove() - Method in class org.shredzone.acme4j.connector.ResourceIterator
Unsupported operation, only here to satisfy the Iterator interface.
requestCertificate(byte[]) - Method in class org.shredzone.acme4j.Registration
Requests a certificate for the given CSR.
requestCertificate(byte[], Instant, Instant) - Method in class org.shredzone.acme4j.Registration
Requests a certificate for the given CSR.
required() - Method in class org.shredzone.acme4j.toolbox.JSON.Value
Checks if the value is present.
resolve(URI) - Method in interface org.shredzone.acme4j.provider.AcmeProvider
Resolves the server URI and returns the matching directory URL.
resolve(URI) - Method in class org.shredzone.acme4j.provider.GenericAcmeProvider
 
resolve(URI) - Method in class org.shredzone.acme4j.provider.letsencrypt.LetsEncryptAcmeProvider
 
Resource - Enum in org.shredzone.acme4j.connector
Enumeration of resources.
ResourceIterator<T extends AcmeResource> - Class in org.shredzone.acme4j.connector
An Iterator that fetches a batch of URLs from the ACME server, and generates AcmeResource instances.
ResourceIterator(Session, String, URL, BiFunction<Session, URL, T>) - Constructor for class org.shredzone.acme4j.connector.ResourceIterator
Creates a new ResourceIterator.
resourceUrl(Resource) - Method in class org.shredzone.acme4j.Session
Gets the URL of the given Resource.
respond(JSONBuilder) - Method in class org.shredzone.acme4j.challenge.Challenge
Exports the response state, as preparation for triggering the challenge.
respond(JSONBuilder) - Method in class org.shredzone.acme4j.challenge.TokenChallenge
 
RevocationReason - Enum in org.shredzone.acme4j
Enumeration of revocation reasons.
revoke() - Method in class org.shredzone.acme4j.Certificate
Revokes this certificate.
revoke(RevocationReason) - Method in class org.shredzone.acme4j.Certificate
Revokes this certificate.
revoke(Session, X509Certificate, RevocationReason) - Static method in class org.shredzone.acme4j.Certificate
Revoke a certificate.

S

sendRequest(URL, Session) - Method in interface org.shredzone.acme4j.connector.Connection
Sends a simple GET request.
sendRequest(URL, Session) - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
sendSignedRequest(URL, JSONBuilder, Session) - Method in interface org.shredzone.acme4j.connector.Connection
Sends a signed POST request.
sendSignedRequest(URL, JSONBuilder, Session) - Method in class org.shredzone.acme4j.connector.DefaultConnection
 
Session - Class in org.shredzone.acme4j
A session stores the ACME server URI and the account's key pair.
Session(String, KeyPair) - Constructor for class org.shredzone.acme4j.Session
Creates a new Session.
Session(URI, KeyPair) - Constructor for class org.shredzone.acme4j.Session
Creates a new Session.
setAgreement(URI) - Method in class org.shredzone.acme4j.Registration.EditableRegistration
Sets a new agreement URI.
setCountry(String) - Method in class org.shredzone.acme4j.util.CSRBuilder
Sets the country.
setKeyPair(KeyPair) - Method in class org.shredzone.acme4j.Session
Sets a different KeyPair.
setLocale(Locale) - Method in class org.shredzone.acme4j.Session
Sets the locale used in this session.
setLocality(String) - Method in class org.shredzone.acme4j.util.CSRBuilder
Sets the city or locality.
setLocation(URL) - Method in class org.shredzone.acme4j.AcmeResource
Sets the resource's location.
setNonce(byte[]) - Method in class org.shredzone.acme4j.Session
Sets the nonce received by the server.
setOrganization(String) - Method in class org.shredzone.acme4j.util.CSRBuilder
Sets the organization.
setOrganizationalUnit(String) - Method in class org.shredzone.acme4j.util.CSRBuilder
Sets the organizational unit.
setSession(Session) - Method in class org.shredzone.acme4j.AcmeResource
Sets a new Session.
setState(String) - Method in class org.shredzone.acme4j.util.CSRBuilder
Sets the state or province.
sha256hash(String) - Static method in class org.shredzone.acme4j.toolbox.AcmeUtils
Computes a SHA-256 hash of the given string.
sign(KeyPair) - Method in class org.shredzone.acme4j.util.CSRBuilder
Signs the completed CSR.
size() - Method in class org.shredzone.acme4j.toolbox.JSON.Array
Returns the array size.
Status - Enum in org.shredzone.acme4j
Status codes of challenges and authorizations.
stream() - Method in class org.shredzone.acme4j.toolbox.JSON.Array
Returns a stream of values.
stripErrorPrefix(String) - Static method in class org.shredzone.acme4j.toolbox.AcmeUtils
Strips the acme error prefix from the error string.

T

toAce(String) - Static method in class org.shredzone.acme4j.toolbox.AcmeUtils
ASCII encodes a domain name.
toJSON() - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Returns a JSON representation of the current state.
TokenChallenge - Class in org.shredzone.acme4j.challenge
An extension of Challenge that handles challenges with a token and keyAuthorization.
TokenChallenge(Session) - Constructor for class org.shredzone.acme4j.challenge.TokenChallenge
Creates a new generic TokenChallenge object.
toMap() - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Returns a Map representation of the current state.
toString() - Method in class org.shredzone.acme4j.Problem
Returns the problem as JSON string.
toString() - Method in class org.shredzone.acme4j.toolbox.JSON
Returns the content as JSON string.
toString() - Method in class org.shredzone.acme4j.toolbox.JSONBuilder
Returns a JSON string representation of the current state.
toString() - Method in class org.shredzone.acme4j.util.CSRBuilder
 
trigger() - Method in class org.shredzone.acme4j.challenge.Challenge
Triggers this Challenge.
TYPE - Static variable in class org.shredzone.acme4j.challenge.Dns01Challenge
Challenge type name: "dns-01"
TYPE - Static variable in class org.shredzone.acme4j.challenge.Http01Challenge
Challenge type name: "http-01"

U

unmarshalAuthorization(JSON) - Method in class org.shredzone.acme4j.Authorization
Sets the properties according to the given JSON data.
unmarshall(JSON) - Method in class org.shredzone.acme4j.challenge.Challenge
Sets the challenge state to the given JSON map.
update() - Method in class org.shredzone.acme4j.Authorization
Updates the Authorization.
update() - Method in class org.shredzone.acme4j.challenge.Challenge
Updates the state of this challenge.
update() - Method in class org.shredzone.acme4j.Registration
Updates the registration to the current account status.
updateSession(Session) - Method in interface org.shredzone.acme4j.connector.Connection
Updates a Session by evaluating the HTTP response header.
updateSession(Session) - Method in class org.shredzone.acme4j.connector.DefaultConnection
 

V

valueOf(String) - Static method in enum org.shredzone.acme4j.connector.Resource
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.shredzone.acme4j.RevocationReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.shredzone.acme4j.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.shredzone.acme4j.connector.Resource
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.shredzone.acme4j.RevocationReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.shredzone.acme4j.Status
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(Writer) - Method in class org.shredzone.acme4j.util.CSRBuilder
Writes the signed certificate request to a Writer.
write(OutputStream) - Method in class org.shredzone.acme4j.util.CSRBuilder
Writes the signed certificate request to an OutputStream.
writeKeyPair(KeyPair, Writer) - Static method in class org.shredzone.acme4j.util.KeyPairUtils
Writes a KeyPair PEM file.
writeX509Certificate(X509Certificate, OutputStream) - Static method in class org.shredzone.acme4j.util.CertificateUtils
Writes an X.509 certificate PEM file.
writeX509Certificate(X509Certificate, Writer) - Static method in class org.shredzone.acme4j.util.CertificateUtils
Writes an X.509 certificate PEM file.
writeX509CertificateChain(Writer, X509Certificate, X509Certificate...) - Static method in class org.shredzone.acme4j.util.CertificateUtils
writeX509Certificates(Writer, X509Certificate...) - Static method in class org.shredzone.acme4j.util.CertificateUtils
Writes multiple X.509 certificates to a PEM file.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2015–2019. All rights reserved.