175 * the {@link #setMaxPathLength} method for more details.
176 *
177 * @return the maximum number of non-self-issued intermediate certificates
178 * that may exist in a certification path, or -1 if there is no limit
179 *
180 * @see #setMaxPathLength
181 */
182 public int getMaxPathLength() {
183 return maxPathLength;
184 }
185
186 /**
187 * Returns a formatted string describing the parameters.
188 *
189 * @return a formatted string describing the parameters
190 */
191 public String toString() {
192 StringBuilder sb = new StringBuilder();
193 sb.append("[\n");
194 sb.append(super.toString());
195 sb.append(" Maximum Path Length: " + maxPathLength + "\n");
196 sb.append("]\n");
197 return sb.toString();
198 }
199 }
|
175 * the {@link #setMaxPathLength} method for more details.
176 *
177 * @return the maximum number of non-self-issued intermediate certificates
178 * that may exist in a certification path, or -1 if there is no limit
179 *
180 * @see #setMaxPathLength
181 */
182 public int getMaxPathLength() {
183 return maxPathLength;
184 }
185
186 /**
187 * Returns a formatted string describing the parameters.
188 *
189 * @return a formatted string describing the parameters
190 */
191 public String toString() {
192 StringBuilder sb = new StringBuilder();
193 sb.append("[\n");
194 sb.append(super.toString());
195 sb.append(" Maximum Path Length: ").append(maxPathLength).append('\n');
196 sb.append("]\n");
197 return sb.toString();
198 }
199 }
|