Lines Matching defs:target
112 * When building reverse, the target certificate will complete the path.
245 * a given target.
250 * may not actually lead to the target at all.
252 * @param target GeneralNameInterface name of target
253 * @return distance from this certificate to target:
255 * <li>-1 means certificate could be CA for target, but
258 * matches target
260 * target.
262 * parent of target.
265 * hierarchy than the target, plus 1.
269 * target in order to be a CA that can issue a certificate to
270 * the target. In these cases, the target distance is calculated
272 * certificate. For example, suppose the target is an X.500 DN with
277 * the "O=sun,C=us" namespace. The target distance is 3
278 * ((distance of permitted NC from target) + 1).
284 X509Certificate cert, GeneralNameInterface target)
299 /* see if certificate subject matches target */
301 if (subject.equals(target)) {
311 /* see if any alternative name matches target */
315 if (altName.equals(target)) {
323 /* no exact match; see if certificate can get us to target */
357 /* see if new merged constraints allow target */
358 if (!constraints.verify(target)) {
360 + "certificate for target");
362 /* find distance to target, if any, in permitted */
369 int distance = distance(perName, target, -1);
374 /* no matching type in permitted; cert holder could certify target */
439 debug.println("Builder.addMatchingCerts: adding target cert");