[Twisted-Python] Authenticated SSL

Itamar Shtull-Trauring itamar at itamarst.org
Wed May 21 10:09:01 MDT 2003


On Wed, 21 May 2003 23:44:25 +0800
Wari Wahab <wari at home.wari.org> wrote:

> Am I right to say that if I do not get the cert CA signer to be what I
> 
> wanted, I'd raise an exception instead of returning self._context in 
> getContext()?.

Hmmm. That's a good point, not sure what'd happen. Probably close the
connection, which is what you want I guess, and pass the exception you
raise to the appropriate callbacks as the failure, so I guess that'd do
the trick. I think Clark Evens posted some relevant code a while back.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting




More information about the Twisted-Python mailing list