question: public PermissiveX509TrustManager ( KeyStore keystore ) throws NoSuchAlgorithmException , KeyStoreException { super ( ) ; TrustManagerFactory factory = TrustManagerFactory . getInstance ( TrustManagerFactory . getDefaultAlgorithm ( ) ) ; factory . init ( keystore ) ; TrustManager [ ] trustmanagers = factory . getTrustManagers ( ) ; if ( trustmanagers . length == 0 ) { throw new NoSuchAlgorithmException ( "no trust managers available" ) ; } this . defaultTrustManager = ( X509TrustManager ) trustmanagers [ 0 ] ; }
target:  Construct a TrustManager instance