@@ -52,6 +52,17 @@ public final class IssuancePolicy extends com.google.api.client.json.GenericJson
52
52
com .google .api .client .util .Data .nullOf (AllowedKeyType .class );
53
53
}
54
54
55
+ /**
56
+ * Optional. The duration to backdate all certificates issued from this CaPool. If not set, the
57
+ * certificates will be issued with a not_before_time of the issuance time (i.e. the current
58
+ * time). If set, the certificates will be issued with a not_before_time of the issuance time
59
+ * minus the backdate_duration. The not_after_time will be adjusted to preserve the requested
60
+ * lifetime. The backdate_duration must be less than or equal to 48 hours.
61
+ * The value may be {@code null}.
62
+ */
63
+ @ com .google .api .client .util .Key
64
+ private String backdateDuration ;
65
+
55
66
/**
56
67
* Optional. A set of X.509 values that will be applied to all certificates issued through this
57
68
* CaPool. If a certificate request includes conflicting values for the same properties, they will
@@ -132,6 +143,31 @@ public IssuancePolicy setAllowedKeyTypes(java.util.List<AllowedKeyType> allowedK
132
143
return this ;
133
144
}
134
145
146
+ /**
147
+ * Optional. The duration to backdate all certificates issued from this CaPool. If not set, the
148
+ * certificates will be issued with a not_before_time of the issuance time (i.e. the current
149
+ * time). If set, the certificates will be issued with a not_before_time of the issuance time
150
+ * minus the backdate_duration. The not_after_time will be adjusted to preserve the requested
151
+ * lifetime. The backdate_duration must be less than or equal to 48 hours.
152
+ * @return value or {@code null} for none
153
+ */
154
+ public String getBackdateDuration () {
155
+ return backdateDuration ;
156
+ }
157
+
158
+ /**
159
+ * Optional. The duration to backdate all certificates issued from this CaPool. If not set, the
160
+ * certificates will be issued with a not_before_time of the issuance time (i.e. the current
161
+ * time). If set, the certificates will be issued with a not_before_time of the issuance time
162
+ * minus the backdate_duration. The not_after_time will be adjusted to preserve the requested
163
+ * lifetime. The backdate_duration must be less than or equal to 48 hours.
164
+ * @param backdateDuration backdateDuration or {@code null} for none
165
+ */
166
+ public IssuancePolicy setBackdateDuration (String backdateDuration ) {
167
+ this .backdateDuration = backdateDuration ;
168
+ return this ;
169
+ }
170
+
135
171
/**
136
172
* Optional. A set of X.509 values that will be applied to all certificates issued through this
137
173
* CaPool. If a certificate request includes conflicting values for the same properties, they will
0 commit comments