public class DNComparator extends Object
| Constructor and Description |
|---|
DNComparator() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getHashCode(String dn) |
static String |
preNormalize(String dn)
Returns a form of the original DN which will be properly parsed by JDK
X500Principal class by
replacing attribute names unknown by the X500Principal with OIDs. |
public static String preNormalize(String dn)
X500Principal class by
replacing attribute names unknown by the X500Principal with OIDs.
What is more all DC and EMAIL values are converted to lower case.dn - in RFC 2253 form.public static int getHashCode(String dn)
dn - source dnX500NameUtils equals method.Copyright © 2012-2014 European Middleware Initiative. All Rights Reserved.