Class AcmeMetadata
- java.lang.Object
-
- org.wildfly.security.x500.cert.acme.AcmeMetadata
-
public final class AcmeMetadata extends Object
A class that represents the metadata associated with an Automatic Certificate Management Environment (ACME) server.- Since:
- 1.5.0
- Author:
- Farah Juma
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AcmeMetadata.Builder
-
Field Summary
Fields Modifier and Type Field Description private String[]
caaIdentities
private boolean
externalAccountRequired
private String
termsOfServiceUrl
private String
websiteUrl
-
Constructor Summary
Constructors Modifier Constructor Description private
AcmeMetadata(AcmeMetadata.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AcmeMetadata.Builder
builder()
Construct a new builder instance.String[]
getCAAIdentities()
Get the CAA identities.String
getTermsOfServiceUrl()
Get the terms of service URL.String
getWebsiteUrl()
Get the website URL.boolean
isExternalAccountRequired()
Get whether or not an external account is required.
-
-
-
Constructor Detail
-
AcmeMetadata
private AcmeMetadata(AcmeMetadata.Builder builder)
-
-
Method Detail
-
getTermsOfServiceUrl
public String getTermsOfServiceUrl()
Get the terms of service URL.- Returns:
- the terms of service URL
-
getWebsiteUrl
public String getWebsiteUrl()
Get the website URL.- Returns:
- the website URL
-
getCAAIdentities
public String[] getCAAIdentities()
Get the CAA identities.- Returns:
- the CAA identities
-
isExternalAccountRequired
public boolean isExternalAccountRequired()
Get whether or not an external account is required.- Returns:
- whether or not an external account is required
-
builder
public static AcmeMetadata.Builder builder()
Construct a new builder instance.- Returns:
- the new builder instance
-
-