Module org.shredzone.acme4j
Package org.shredzone.acme4j.challenge
Class DnsPersist01Challenge.Builder
java.lang.Object
org.shredzone.acme4j.challenge.DnsPersist01Challenge.Builder
- Enclosing class:
DnsPersist01Challenge
Builder for RDATA.
The following default values are assumed unless overridden by one of the builder methods:
- The first issuer domain name from the list of issuer domain names is used
- No wildcard domain
- No persistence limit
- Generate quote-enclosed strings
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the RDATA string for the DNS TXT record.issuerDomainName(String issuer) Change the issuer domain name.noQuotes()Do not use quote-enclosed strings.persistUntil(Instant instant) Instant until this RDATA is valid.wildcard()Request wildcard validation.
-
Method Details
-
issuerDomainName
Change the issuer domain name.- Parameters:
issuer- Issuer domain name, must be one ofDnsPersist01Challenge.getIssuerDomainNames().
-
wildcard
Request wildcard validation. -
persistUntil
Instant until this RDATA is valid. The CA must not use this record after that.- Parameters:
instant- Persist until instant
-
noQuotes
Do not use quote-enclosed strings. Proper formatting of the resulting RDATA must be done externally! -
build
Build the RDATA string for the DNS TXT record.
-