Class AcmeMetadata.Builder
java.lang.Object
org.wildfly.security.x500.cert.acme.AcmeMetadata.Builder
- Enclosing class:
- AcmeMetadata
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Create the ACME metadata.setCaaIdentities(String[] caaIdentities) Set the CAA identities.setExternalAccountRequired(boolean externalAccountRequired) Set whether or not an external account is required.setTermsOfServiceUrl(String termsOfServiceUrl) Set the terms of service URL.setWebsiteUrl(String websiteUrl) Set the website URL.
-
Method Details
-
setTermsOfServiceUrl
Set the terms of service URL.- Parameters:
termsOfServiceUrl- the terms of service URL (must not benull)- Returns:
- this builder instance
-
setWebsiteUrl
Set the website URL.- Parameters:
websiteUrl- the website URL (must not benull)- Returns:
- this builder instance
-
setCaaIdentities
Set the CAA identities.- Parameters:
caaIdentities- the CAA identities (must not benull)- Returns:
- this builder instance
-
setExternalAccountRequired
Set whether or not an external account is required.- Parameters:
externalAccountRequired-trueif an external account is required andfalseotherwise- Returns:
- this builder instance
-
build
Create the ACME metadata.- Returns:
- the newly created ACME metadata
- Throws:
IllegalArgumentException
-