/** * Announces that the client wishes to fetch the recurring certificate via GET * request. If not used, the STAR certificate can only be fetched via POST-as-GET * request. {@link Metadata#isStarCertificateGetAllowed()} must return {@code true} in * order for this option to work. * <p> * This option is only needed if you plan to fetch the STAR certificate via other * means than by using acme4j. * <p> * Implies {@link #recurrent()}. * * @return itself * @since 2.6 */ public OrderBuilder recurrentEnableGet() { recurrent(); this.recurrentGet = true; return this; }
/** * Announces that the client wishes to fetch the recurring certificate via GET * request. If not used, the STAR certificate can only be fetched via POST-as-GET * request. {@link Metadata#isStarCertificateGetAllowed()} must return {@code true} in * order for this option to work. * <p> * This option is only needed if you plan to fetch the STAR certificate via other * means than by using acme4j. * <p> * Implies {@link #recurrent()}. * * @return itself * @since 2.6 */ public OrderBuilder recurrentEnableGet() { recurrent(); this.recurrentGet = true; return this; }
/** * Sets the latest date of validity of the last issued certificate. If not set, the * CA's default is used. * <p> * Implies {@link #recurrent()}. * * @param end * End date of validity * @return itself * @see Metadata#getStarMaxRenewal() * @since 2.3 */ public OrderBuilder recurrentEnd(Instant end) { recurrent(); this.recurrentEnd = requireNonNull(end, "end"); return this; }
/** * Sets the maximum validity period of each certificate. If not set, the CA's * default is used. * <p> * Implies {@link #recurrent()}. * * @param duration * Duration of validity of each certificate * @return itself * @see Metadata#getStarMinCertValidity() * @since 2.3 */ public OrderBuilder recurrentCertificateValidity(Duration duration) { recurrent(); this.recurrentValidity = requireNonNull(duration, "duration"); return this; }
/** * Sets the earliest date of validity of the first issued certificate. If not set, * the start date is the earliest possible date. * <p> * Implies {@link #recurrent()}. * * @param start * Start date of validity * @return itself * @since 2.3 */ public OrderBuilder recurrentStart(Instant start) { recurrent(); this.recurrentStart = requireNonNull(start, "start"); return this; }
/** * Sets the earliest date of validity of the first issued certificate. If not set, * the start date is the earliest possible date. * <p> * Implies {@link #recurrent()}. * * @param start * Start date of validity * @return itself * @since 2.3 */ public OrderBuilder recurrentStart(Instant start) { recurrent(); this.recurrentStart = requireNonNull(start, "start"); return this; }
/** * Sets the latest date of validity of the last issued certificate. If not set, the * CA's default is used. * <p> * Implies {@link #recurrent()}. * * @param end * End date of validity * @return itself * @see Metadata#getStarMaxRenewal() * @since 2.3 */ public OrderBuilder recurrentEnd(Instant end) { recurrent(); this.recurrentEnd = requireNonNull(end, "end"); return this; }
/** * Sets the maximum validity period of each certificate. If not set, the CA's * default is used. * <p> * Implies {@link #recurrent()}. * * @param duration * Duration of validity of each certificate * @return itself * @see Metadata#getStarMinCertValidity() * @since 2.3 */ public OrderBuilder recurrentCertificateValidity(Duration duration) { recurrent(); this.recurrentValidity = requireNonNull(duration, "duration"); return this; }