tylerjroach / eventsource-android

An Android EventSource (SSE - Server Sent Events) Library
Other
90 stars 21 forks source link

Is it possible to use this lib with CA authentication between client and https server? #5

Open hustc12 opened 8 years ago

hustc12 commented 8 years ago

Actually it is not a "real" issue, it is more like a request... I am just wondering whether this lib can be used for authenticate mechanism between Android client and https server via xx.cer file. I mean client hold the certification file and need to use this cert file to get the authentication from https server. I just saw that there is a class named SSLEngineFactory in this lib, but seems that I cannot build the certification file into the ssl context and create connection with https server. Is there any methods that I can achieve this goal with this lib?