The stream initiator doesn't need to send anything. if the server supports TLS and the client/initiator wants to use it or requires it then you use it. If it doesn't then you can notify the user to use a server that does support it.
Dieter Lunn http://ubiety.ca On Fri, Jan 21, 2011 at 7:30 PM, Chris Eagan <[email protected]> wrote: > Hi, > > > > I am new to XMPP and reading through > http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-22.html#tls-rules-mtn > > > > WRT “If the receiving entity advertises only the STARTTLS feature or if the > receiving entity includes the <required/> child element as explained under > Section 5.4.1, the parties MUST consider TLS as mandatory-to-negotiate”. > > > > So I see how the receiving entity can require STARTTLS by including > <starttls><required/><starttls> in the stream features returned in response > to the initial stream. However, I don’t understand how the initiator can > signal STARTTLS is required. Can the initiator send a stream features when > opening the stream? > > > > Thank you, > > > > Chris E. > > > > _______________________________________________ > JDev mailing list > Info: http://mail.jabber.org/mailman/listinfo/jdev > Unsubscribe: [email protected] > _______________________________________________ > > _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
