Daniel, My compiler gives me an error saying that the method isn't defined. So I = guess it hasn't been implemented.
Thanks all the same. Udupa -----Original Message----- From: Daniel [mailto:[EMAIL PROTECTED] Sent: Fri 12/11/2004 4:50 PM To: [EMAIL PROTECTED] Cc:=09 Subject: Re: Viewing handshake certificates Hi, I'm not an expert but I believe the provider should have implemented = that method so try calling it to get the cert info. Regards, Daniel On Fri, 12 Nov 2004, Ranganath Udupa wrote: > > > Hi, > > I am trying to build a secure peer to peer shell program that can talk = to each > other using xml-rpc. Each peer is can interact with only a valid set = of > peers...and validation of peers is done using an identity certificate = (x.509v3 > based). I have been able to establish a secure xml-rpc calls and the = ssl > handshakes are happening smoothly. One of the peers would be using the > SecureWebServer class and the other peer connects to it using the = XmlRpcClient. > I have also been able to look at the client's certificate from the = server (by > tweaking the xml-rpc source code a bit).This has been possible by = referencing > the socket that got created during the run() method defined within the > WebServer class. However, from the client's side, I do not know how it = would be > possible for me to view the servers certificate. I am passing a type = URL to > establish connection and there is no way I can reference the socket = that was > used. Matter of fact, HttpsURLConnection has an abstract method > getServerCertificates() but there is no implementation available. Any = help > regarding this would be very much appreciated. > > Hope I have been clear. > > Thanks a lot > Udupa >
