java.lang.Object
org.shredzone.acme4j.Metadata
Contains metadata related to the provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the maximum delta between auto-renewal end date and auto-renewal start date.Returns the minimum acceptable value for the maximum validity of a certificate before auto renewal.Returns a collection of hostnames, which the ACME server recognises as referring to itself for the purposes of CAA record validation.getJSON()
Returns the JSON representation of the metadata.Returns anURI
to the current terms of service, ornull
if not available.Returns anURL
to a website providing more information about the ACME server.boolean
Returns whether the CA supports short-term auto renewal of certificates.boolean
Returns whether the CA also allows to fetch STAR certificates via GET request.boolean
Returns whether an external account is required by this CA.
-
Constructor Details
-
Metadata
Creates a newMetadata
instance.- Parameters:
meta
- JSON map of metadata
-
-
Method Details
-
getTermsOfService
Returns anURI
to the current terms of service, ornull
if not available. -
getWebsite
Returns anURL
to a website providing more information about the ACME server.null
if not available. -
getCaaIdentities
Returns a collection of hostnames, which the ACME server recognises as referring to itself for the purposes of CAA record validation. Empty if not available. -
isExternalAccountRequired
Returns whether an external account is required by this CA. -
isAutoRenewalEnabled
Returns whether the CA supports short-term auto renewal of certificates.- Since:
- 2.3
-
getAutoRenewalMinLifetime
Returns the minimum acceptable value for the maximum validity of a certificate before auto renewal.null
if the CA does not support short-term auto renewal.- Since:
- 2.3
-
getAutoRenewalMaxDuration
Returns the maximum delta between auto-renewal end date and auto-renewal start date.null
if the CA does not support short-term auto renewal.- Since:
- 2.3
-
isAutoRenewalGetAllowed
Returns whether the CA also allows to fetch STAR certificates via GET request.- Since:
- 2.6
-
getJSON
Returns the JSON representation of the metadata. This is useful for reading proprietary metadata properties.
-