java.lang.Object
org.shredzone.acme4j.Metadata
A collection of metadata related to the CA provider.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns 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.getProfileDescription(String profile) Returns a description of the requested profile.Returns all profiles supported by the CA.Returns anURIof the current terms of service, or empty if not available.Returns anURLof a website providing more information about the ACME server.booleanReturns whether the CA supports short-term auto-renewal of certificates.booleanReturns whether the CA also allows to fetch STAR certificates via GET request.booleanReturns whether an external account is required by this CA.booleanReturns whether the CA supports the profile feature.booleanisProfileAllowed(String profile) Returns whether the CA supports the requested profile.booleanReturns whether the CA supports subdomain auth according to RFC9444.
-
Konstruktordetails
-
Metadata
Creates a newMetadatainstance.- Parameter:
meta- JSON map of metadata
-
-
Methodendetails
-
getTermsOfService
Returns anURIof the current terms of service, or empty if not available. -
getWebsite
Returns anURLof a website providing more information about the ACME server. Empty 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.- Seit:
- 2.3
-
getAutoRenewalMinLifetime
Returns the minimum acceptable value for the maximum validity of a certificate before auto-renewal.- Löst aus:
AcmeNotSupportedException- if the server does not support auto-renewal.- Seit:
- 2.3
-
getAutoRenewalMaxDuration
Returns the maximum delta between auto-renewal end date and auto-renewal start date.- Löst aus:
AcmeNotSupportedException- if the server does not support auto-renewal.- Seit:
- 2.3
-
isAutoRenewalGetAllowed
Returns whether the CA also allows to fetch STAR certificates via GET request.- Löst aus:
AcmeNotSupportedException- if the server does not support auto-renewal.- Seit:
- 2.6
-
isProfileAllowed
Returns whether the CA supports the profile feature.- Seit:
- 3.5.0
- Draft:
- This method is currently based on RFC draft draft-aaron-acme-profiles. It may be changed or removed without notice to reflect future changes to the draft. SemVer rules do not apply here.
-
isProfileAllowed
Returns whether the CA supports the requested profile.Also returns
falseif profiles are not allowed in general.- Seit:
- 3.5.0
- Draft:
- This method is currently based on RFC draft draft-aaron-acme-profiles. It may be changed or removed without notice to reflect future changes to the draft. SemVer rules do not apply here.
-
getProfiles
Returns all profiles supported by the CA. May be empty if the CA does not support profiles.- Seit:
- 3.5.0
- Draft:
- This method is currently based on RFC draft draft-aaron-acme-profiles. It may be changed or removed without notice to reflect future changes to the draft. SemVer rules do not apply here.
-
getProfileDescription
Returns a description of the requested profile. This can be a human-readable string or a URL linking to a documentation.Empty if the profile is not allowed.
- Seit:
- 3.5.0
- Draft:
- This method is currently based on RFC draft draft-aaron-acme-profiles. It may be changed or removed without notice to reflect future changes to the draft. SemVer rules do not apply here.
-
isSubdomainAuthAllowed
Returns whether the CA supports subdomain auth according to RFC9444.- Seit:
- 3.3.0
-
getJSON
Returns the JSON representation of the metadata. This is useful for reading proprietary metadata properties.
-