# Re: SSL examples?

David Brownell (David.Brownell@Eng)
Tue, 3 Mar 1998 09:12:54 -0800

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Charlie Lai: "Re: Applet JDBC Support ..."
- Previous message: Vipul Mistry: "Applet JDBC Support ..."
- Maybe in reply to: Frank Maritato: "SSL examples?"

    Date: Tue, 3 Mar 1998 09:12:54 -0800

    From: David.Brownell@Eng (David Brownell)

    Message-Id: <199803031712.JAA24318@argon.eng.sun.com>

    To: frank@uccs.jpl.nasa.gov, java-security@web1.javasoft.com

    Subject: Re: SSL examples?

> Does anyone know of any publicly available examples on how to use the
> javax.ssl classes?

Sun Education has a course that includes such examples.

Just get the sockets from the factories, and use them like normal
sockets. The exception is if you need to support authentication;
for example, unless you authenticate your servers, SSLServerSockets
are not going to talk to anyone. There are some more advanced options,
too.

> Specifically, I was wondering if I can set up one of my machines in my
> local network as a public key server (without using a commercial key
> server like Netscape's) using javakey to create the database, and then
> use the SSLSocket classes to create secure channels in my Java 1.1.5
> code.

Not really; "javakey" isn't really suited to such applications.

- Dave

- Next message: Charlie Lai: "Re: Applet JDBC Support ..."
- Previous message: Vipul Mistry: "Applet JDBC Support ..."
- Maybe in reply to: Frank Maritato: "SSL examples?"