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);
}

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 ) ; }
x509keymanager # chooseclientalias ( string [ ] keytype , principal [ ] issuers , socket socket )
