Allow 'null' for TruststorePath and TruststorePassword in ServerTrustManager
Description
Some KeyStore types (e.g. AndroidCAStore) need null as path and password in KeyStore.load(path, password). Currently Smack does not allow null as values for these two parameters and does in fact throw an NPE which results to configuration.setVerifyRootCAEnabled(false) when 'trustStore == null' [1].
Some KeyStore types (e.g. AndroidCAStore) need null as path and password in KeyStore.load(path, password). Currently Smack does not allow null as values for these two parameters and does in fact throw an NPE which results to configuration.setVerifyRootCAEnabled(false) when 'trustStore == null' [1].
[1]: http://fisheye.igniterealtime.org/browse/smack/trunk/source/org/jivesoftware/smack/ServerTrustManager.java?r=13459#to86