Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38590

Re: Examples of SSL/TLS implementation

Path csiph.com!aioe.org!.POSTED!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Examples of SSL/TLS implementation
Date Mon, 10 Sep 2018 10:54:00 -0400
Organization Aioe.org NNTP Server
Lines 20
Message-ID <pn60i9$j5v$1@gioia.aioe.org> (permalink)
References <fkucpd192b10vn191f0mirlq7ctp2lbv8s@4ax.com>
NNTP-Posting-Host PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Content-Language en-US
X-Notice Filtered by postfilter v. 0.8.3
Xref csiph.com comp.lang.java.programmer:38590

Show key headers only | View raw


On 9/10/2018 10:11 AM, Mark wrote:
> I am looking for good examples of SSL/TLS implementation in Java.  I
> can find plenty using HTTPS, but this is a propratory protocol.  I
> just need to connect to a TLS server socket and check certificates
> etc.  Then just send and receive data.
> 
> More specifically I am confused about how to use SSLSocketFactory.
> When should the getDefault() method be used and when to use the
> createSocket() methods.

http://www.vajhoej.dk/arne/articles/socket2.html#sslcli
http://www.vajhoej.dk/arne/articles/socket4.html#sslcli

have an example (the SSL part is the same for the two).

Arne



Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Examples of SSL/TLS implementation Mark <i@dontgetlotsofspamanymore.net> - 2018-09-10 15:11 +0100
  Re: Examples of SSL/TLS implementation Arne Vajhøj <arne@vajhoej.dk> - 2018-09-10 10:54 -0400
    Re: Examples of SSL/TLS implementation Mark <i@dontgetlotsofspamanymore.net> - 2018-09-11 08:26 +0100
      Re: Examples of SSL/TLS implementation Arne Vajhøj <arne@vajhoej.dk> - 2018-09-12 14:59 -0400

csiph-web