Uses of Class
org.shredzone.acme4j.toolbox.JSON
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.
Acme Providers are the link between acme4j and the ACME server.
Internal toolbox.
-
Uses of JSON in org.shredzone.acme4j
Modifier and TypeMethodDescriptionProblem.asJSON()
Returns the problem asJSON
object, to access other, non-standard fields.AcmeJsonResource.getJSON()
Returns the JSON representation of the resource data.Metadata.getJSON()
Returns the JSON representation of the metadata.Modifier and TypeMethodDescriptionLogin.createChallenge
(JSON data) Creates aChallenge
instance for the given challenge data.protected void
Sets the JSON representation of the resource data. -
Uses of JSON in org.shredzone.acme4j.challenge
ModifierConstructorDescriptionCreates a new genericChallenge
object.Dns01Challenge
(Login login, JSON data) Creates a new genericDns01Challenge
object.Http01Challenge
(Login login, JSON data) Creates a new genericHttp01Challenge
object.TlsAlpn01Challenge
(Login login, JSON data) Creates a new genericTlsAlpn01Challenge
object.TokenChallenge
(Login login, JSON data) Creates a new genericTokenChallenge
object. -
Uses of JSON in org.shredzone.acme4j.connector
Modifier and TypeMethodDescriptionConnection.readJsonResponse()
Reads a server response as JSON object.DefaultConnection.readJsonResponse()
-
Uses of JSON in org.shredzone.acme4j.provider
Modifier and TypeMethodDescriptionReturns the provider's directory.Modifier and TypeMethodDescriptionCreates a Challenge.AbstractAcmeProvider.createChallenge
(Login login, JSON data) Creates aChallenge
instance for the given challenge data.AcmeProvider.createChallenge
(Login login, JSON data) Creates aChallenge
instance for the given challenge data. -
Uses of JSON in org.shredzone.acme4j.toolbox
Modifier and TypeMethodDescriptionJSON.Value.asEncodedObject()
Returns the value as JSON object that was Base64 URL encoded.JSON.Value.asObject()
Returns the value as JSON object.static JSON
JSON.empty()
Returns aJSON
of an empty document.static JSON
Creates a JSON object from a map.static JSON
JSON.parse
(InputStream in) Parses JSON from anInputStream
.static JSON
Parses JSON from a String.JSONBuilder.toJSON()
Returns aJSON
representation of the current state.