Home
last modified time | relevance | path

Searched refs:principal2 (Results 1 – 1 of 1) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
DX500PrincipalTest.java496 X500Principal principal2 = new X500Principal("CN=A, CN=B"); in testEquals() local
497 assertTrue(principal.equals(principal2)); in testEquals()
845 X500Principal principal2 = new X500Principal(enc); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_RFC1779() local
846 String s = principal2.getName(X500Principal.RFC1779); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_RFC1779()
863 X500Principal principal2 = new X500Principal(enc); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_RFC2253() local
864 String s = principal2.getName(X500Principal.RFC2253); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_RFC2253()
881 X500Principal principal2 = new X500Principal(enc); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_CANONICAL() local
882 String s = principal2.getName(X500Principal.CANONICAL); in testGetName_EncodingWithWrongOidButGoodName_SeveralRDNs_CANONICAL()
1152 X500Principal principal2 = new X500Principal(dn); in testEmptyInputName_1() local
1153 assertTrue(Arrays.equals(principal.getEncoded(), principal2 in testEmptyInputName_1()
[all …]