question: public void test_chooseClientAlias ( ) { init ( CLIENT ) ; assertNull ( manager . chooseClientAlias ( null , null , new Socket ( ) ) ) ; assertNull ( manager . chooseClientAlias ( new String [ 0 ] , null , new Socket ( ) ) ) ; assertNull ( manager . chooseClientAlias ( new String [ ] { "BOGUS" } , null , new Socket ( ) ) ) ; String res = manager . chooseClientAlias ( new String [ ] { TYPE_RSA } , null , null ) ; assertNotNull ( res ) ; assertKnownAlias ( res ) ; }
target:  X509KeyManager#chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)