Lines Matching defs:index

43  * the index of the certificate in the certification path that caused the
67 * @serial the index of the certificate in the certification path
70 private int index = -1;
134 * detail message, cause, certification path, and index.
140 * @param index the index of the certificate in the certification path
143 * @throws IndexOutOfBoundsException if the index is out of range
144 * <code>(index < -1 || (certPath != null && index >=
147 * <code>null</code> and <code>index</code> is not -1
150 CertPath certPath, int index) {
151 this(msg, cause, certPath, index, BasicReason.UNSPECIFIED);
156 * detail message, cause, certification path, index, and reason.
162 * @param index the index of the certificate in the certification path
166 * @throws IndexOutOfBoundsException if the index is out of range
167 * <code>(index < -1 || (certPath != null && index >=
170 * <code>null</code> and <code>index</code> is not -1
176 CertPath certPath, int index, Reason reason) {
178 if (certPath == null && index != -1) {
181 if (index < -1 ||
182 (certPath != null && index >= certPath.getCertificates().size())) {
189 this.index = index;
205 * Returns the index of the certificate in the certification path
208 * index has been set, -1 is returned.
210 * @return the index that has been set, or -1 if none has been set
213 return this.index;
218 * associated with the index of the certificate returned by
237 if (certPath == null && index != -1) {
238 throw new InvalidObjectException("certpath is null and index != -1");
240 if (index < -1 ||
241 (certPath != null && index >= certPath.getCertificates().size())) {
242 throw new InvalidObjectException("index out of range");