Searched refs:principal2 (Results 1 – 1 of 1) sorted by relevance
496 X500Principal principal2 = new X500Principal("CN=A, CN=B"); in testEquals() local497 assertTrue(principal.equals(principal2)); in testEquals()845 X500Principal principal2 = new X500Principal(enc); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_RFC1779() local846 String s = principal2.getName(X500Principal.RFC1779); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_RFC1779()863 X500Principal principal2 = new X500Principal(enc); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_RFC2253() local864 String s = principal2.getName(X500Principal.RFC2253); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_RFC2253()881 X500Principal principal2 = new X500Principal(enc); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_CANONICAL() local882 String s = principal2.getName(X500Principal.CANONICAL); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_CANONICAL()1152 X500Principal principal2 = new X500Principal(dn); in testEmptyInputName_1() local1153 assertTrue(Arrays.equals(principal.getEncoded(), principal2 in testEmptyInputName_1()[all …]