question: public void add ( X509TrustManager mgr ) { if ( mgr instanceof X509Extensions ) { managers . add ( ( X509Extensions ) mgr ) ; } else { managers . add ( new X509ExtensionsWrapper ( mgr ) ) ; } }
target:  Add an X509TrustManager to the ones being governed by this composite. Ideally, this implements X509Extensions. If not, it will be wrapped in an X509ExtensionsWrapper, to try to call additional methods via reflection.