[jdev] Re: jdev Digest, Vol 10, Issue 3

Kamran Zafar dearkami at yahoo.com
Thu Nov 4 23:23:21 CST 2004


Hi Alexey,

Thanks for your reply and giving the reference of RFC
3920.

Yes, I have gone through this RFC (specially "section
5. Use of TLS"). But my confusion is still there.I
have a perfect understanding of how and what stanzas
should be passed through client-server-client. 

Let me explain my question in other way, 

In RFC 3920, please go to (section "5.3.
Client-to-Server Example"). There is written:

Step 4: Client sends the STARTTLS command to server:
    <starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>

Step 5: Server informs client that it is allowed to
proceed:
<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
 
Step 6: Client and server attempt to complete TLS
negotiation over the existing TCP connection.

Step 7: If TLS negotiation is successful, client
initiates a new stream to server:

I want to know what exactly happens in the "TLS
negotiation" (implementation point of view). What I
have to do (other than making and send/receiving of
TLS related stanzas) in my client and server
application in "step 6"?

I hope this time I am more explanatory.

Regards,
Kamran





--- jdev-request at jabber.org wrote:

> Send jdev mailing list submissions to
> 	jdev at jabber.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://mail.jabber.org/mailman/listinfo/jdev
> or, via email, send a message with subject or body
> 'help' to
> 	jdev-request at jabber.org
> 
> You can reach the person managing the list at
> 	jdev-owner at jabber.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of jdev digest..."
> 
> 
> Today's Topics:
> 
>    1. TLS negotiation (Kamran Zafar)
>    2. Re: TLS negotiation (Alexey Nezhdanov)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 4 Nov 2004 02:33:14 -0800 (PST)
> From: Kamran Zafar <dearkami at yahoo.com>
> Subject: [jdev] TLS negotiation
> To: jdev at jabber.org
> Message-ID:
> <20041104103314.69660.qmail at web60806.mail.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi,
> 
> I have developed a xmpp compliant client and server
> applications with most of the features.
> 
> Now I want to give (client 2 server )TLS
> implementation in it.
> 
> Please let me know what should i need to do in my
> existing coding in order to add this feature.
> 
> Regards,
> Kamran
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Check out the new Yahoo! Front Page. 
> www.yahoo.com 
>  
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 4 Nov 2004 13:37:07 +0300
> From: Alexey Nezhdanov <snake at penza-gsm.ru>
> Subject: Re: [jdev] TLS negotiation
> To: Jabber software development list
> <jdev at jabber.org>
> Message-ID: <200411041337.07598.snake at penza-gsm.ru>
> Content-Type: text/plain;  charset="koi8-r"
> 
> ÷ ÓÏÏÂÝÅÎÉÉ ÏÔ þÅÔ×ÅÒÇ 04 îÏÑÂÒØ 2004 13:33 Kamran
> Zafar ÎÁÐÉÓÁÌ(a):
> > Hi,
> >
> > I have developed a xmpp compliant client and
> server
> > applications with most of the features.
> What language/license/download location ?
> >
> > Now I want to give (client 2 server )TLS
> > implementation in it.
> >
> > Please let me know what should i need to do in my
> > existing coding in order to add this feature.
> Did you read RFC 3920? I think there is very good
> description of how TLS 
> should be done. If yes - then eveluate your question
> in more words please.
> >
> > Regards,
> > Kamran
> 
> 
> -- 
> Respectfully
> Alexey Nezhdanov
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
> 
> 
> End of jdev Digest, Vol 10, Issue 3
> ***********************************
> 



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 




More information about the JDev mailing list