Lines Matching defs:distance
137 * get distance of one GeneralName from another
143 * @return distance of test name from base, where 0
149 static int distance(GeneralNameInterface base,
154 debug.println("Builder.distance(): Names are different types");
158 debug.println("Builder.distance(): Names are same type but " +
177 * get hop distance of one GeneralName from another in links where
179 * For example, the hop distance from ou=D,ou=C,o=B,c=US to
180 * ou=F,ou=E,ou=C,o=B,c=US is 3: D->C, C->E, E->F. The hop distance
187 * @return distance of test name from base measured in hops in the
253 * @return distance from this certificate to target:
264 * to be a CA for this distance higher in the naming
270 * the target. In these cases, the target distance is calculated
277 * the "O=sun,C=us" namespace. The target distance is 3
278 * ((distance of permitted NC from target) + 1).
362 /* find distance to target, if any, in permitted */
369 int distance = distance(perName, target, -1);
370 if (distance >= 0) {
371 return (distance + 1);