use of javax.net.ssl.DistinguishedNameParser in project robovm by robovm.
the class DistinguishedNameParserTest method assertFirstCn.
private void assertFirstCn(String dn, String expected) {
X500Principal principal = new X500Principal(dn);
assertEquals(dn, expected, new DistinguishedNameParser(principal).findMostSpecific("cn"));
}
Aggregations