public TrustManagerBuilder add(TrustManager... mgrs){
  for (  TrustManager tm : mgrs) {
    if (tm instanceof X509TrustManager) {
      mgr.add((X509TrustManager)tm);
    }
  }
  return (this);
}

public TrustManagerBuilder add ( TrustManager ... mgrs ) { for ( TrustManager tm : mgrs ) { if ( tm instanceof X509TrustManager ) { mgr . add ( ( X509TrustManager ) tm ) ; } } return ( this ) ; }
use this to add arbitrary trustmanagers to the mix . only the x509trustmanager instances in the array will be used . this is also used , under the covers , by most of the other builder methods , to add configured trust managers .
