code: @Override
      public void initWithNiwsConfig(IClientConfig clientConfig) {
          if (clientConfig == null) {
              return;
          }
  
          if (clientConfig.getOrDefault(CommonClientConfigKey.TrustStore) != null) {
              throw new IllegalArgumentException("Client configured with an AcceptAllSocketFactory cannot utilize a truststore");
          }
      }
docs: In the case of this factory the intent is to ensure that a truststore is not set,
  as this does not make sense in the context of an accept-all policy