ous = new Vector<String>(10);
String[] ary = canonicalName.split("/");
for (int i = 0; i < ary.length; i++) {
String[] pair = ary[i].split("=");
if (pair.length != 2) {
throw new RepositoryException("Invalid Notes name: " + canonicalName);
}
if ("CN".equalsIgnoreCase(pair[0])) {
commonName = pair[1].trim();
} else if ("OU".equalsIgnoreCase(pair[0])) {
ous.add(pair[1]);
} else if ("O".equalsIgnoreCase(pair[0])) {
organization = pair[1];
}
}
if (commonName == null) {
throw new RepositoryException(
"Failed to compute common name: " + canonicalName);
}
initAbbreviateName();
if (shortName == null) {