[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Classpath-inetlib] TrustManager?
From: |
Chris Burdess |
Subject: |
Re: [Classpath-inetlib] TrustManager? |
Date: |
Tue, 15 Jun 2004 14:36:29 +0100 |
User-agent: |
Mutt/1.3.28i |
petite_abeille wrote:
> I would like to use my own TrustManager when handling the STARTTLS
> command in both POP3Connection and SMTPConnection.
>
> What would be a straightforward way to achieve this?
>
> My current thinking is to slightly refactor POP3/SMTPConnection by
> adding a trustManager() method which could be used by stls() and
> starttls() to initialize the SSLContext with the relevant TrustManager.
I would prefer to overload starttls() with a version that takes a
TrustManager, unless anyone has any objections. This gives the
interface:
public void starttls ();
public void starttls (TrustManager tm);
Question: are there likely to be other aspects that will typically need
to be customised? e.g. KeyStore?
--
Chris Burdess