Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSLConnectionHelper: different keystores for inputstream/path #21

Closed
GoogleCodeExporter opened this issue May 22, 2015 · 3 comments
Closed

Comments

@GoogleCodeExporter
Copy link

The two constructors of SSLConnectionHelper (where the keystore is given as
path and inputstream respectively) call 

this.keyStore = KeyStore.getInstance(keystoreType, "BC");

and 

this.keyStore = KeyStore.getInstance(keystoreType);

which makes a difference depending on what providers are installed.

Original issue reported on code.google.com by hsifdr...@gmail.com on 28 May 2010 at 2:28

@GoogleCodeExporter
Copy link
Author

So the inputstream call needs to be updated to include "BC" as an arguement?

Original comment by idbill.p...@gmail.com on 3 Jun 2010 at 3:52

@GoogleCodeExporter
Copy link
Author

I think you have it inverted. It is the constructor:
[public SSLConnectionHelper(String appleHost, int applePort, InputStream 
keyStoreInputStream, String keyStorePass, String keystoreType)]
that specifies the "BC", and that one does not work.

you can remove the "BC" 
[this.keyStore = KeyStore.getInstance(keystoreType);]
and the constructor will work just fine.

Original comment by dev.serg...@gmail.com on 16 Aug 2010 at 2:31

@GoogleCodeExporter
Copy link
Author

The change has been committed. 

Original comment by idbill.p...@gmail.com on 16 Aug 2010 at 4:51

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant