Module exmpp_server_tls

The module exmpp_server_tls implements the receiving entity side of the TLS feature.

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

Description

The module exmpp_server_tls implements the receiving entity side of the TLS feature.

Note that it doesn't implement encryption, only feature negotiation at the XMPP level.

Function Index

failure/0Make an XML element to tell the initiating entity that the TLS handshake failed.
feature/0Make a feature announcement child.
feature/1Make a feature announcement child.
proceed/0Make an XML element to tell the initiating entity it can proceed with the TLS handshake.

Function Details

failure/0

failure() -> Failure

Make an XML element to tell the initiating entity that the TLS handshake failed.

feature/0

feature() -> Feature

Make a feature announcement child.

TLS is announced as not required.

The result should then be passed to exmpp_stream:features/1.

See also: feature/1.

feature/1

feature(Is_Required) -> Feature

Make a feature announcement child.

The result should then be passed to exmpp_stream:features/1.

proceed/0

proceed() -> Proceed

Make an XML element to tell the initiating entity it can proceed with the TLS handshake.


Generated by EDoc, Jan 21 2011, 01:43:53.