Module exmpp_client_tls

The module exmpp_client_tls implements the initiating entity side of the TLS feature.

Authors: Jean-Sébastien Pédron (js.pedron@meetic-corp.com).

Description

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.

Function Index

announced_support/1Return the kind of TLS negotiation the receiving entity asks for.
starttls/0Make an XML element to tell the receiving entity that we want to use TLS.

Function Details

announced_support/1

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/0

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.