moxie0 / AndroidPinning

A standalone library project for certificate pinning on Android.
http://www.thoughtcrime.org/blog/authenticity-is-broken-in-ssl-but-your-app-ha/
GNU General Public License v3.0
618 stars 114 forks source link

Add helper method for getting pinned SSLSocketFactory #8

Closed matthewmichihara closed 9 years ago

matthewmichihara commented 11 years ago

Some libraries like Google's Volley allow constructing HTTP clients with custom SSLSocketFactory's, so instead of copy pasting some SSLSocketFactory construction boiler-plate code, I thought I'd try to DRY things up by creating this helper method.

hpadrao commented 10 years ago

I've tested with success.

scottagarman commented 10 years ago

I also tested these changes piping into volley HurlStack and seems good so far.

cheeplusplus commented 10 years ago

This would be good for OkHttp support as well.