Authors: Jean-Sébastien Pédron (js.pedron@meetic-corp.com).
The module exmpp_client_tls implements the initiating entity side of the TLS feature.
Note that it doesn't implement encryption, only feature negotiation at the XMPP level.
announced_support/1 | Return the kind of TLS negotiation the receiving entity asks for. |
starttls/0 | Make an XML element to tell the receiving entity that we want to use TLS. |
announced_support(Xmlel::Features_Announcement) -> Support
throws {tls, announced_support, invalid_announcement, El}
Return the kind of TLS negotiation the receiving entity asks for.
starttls() -> STARTTLS
Make an XML element to tell the receiving entity that we want to use TLS.
Generated by EDoc, Jan 21 2011, 01:43:54.