comparison sat/bridge/bridge_constructor/bridge_template.ini @ 2646:712cb4ff3e13

core: new EncryptionHandler class which manage encrypted session as a core feature: Plugin handling encryption can now register using host.registerEncryptionPlugin, and an encryption session can now be started using messageEncryptionStart bridge method. This will make encryption handling more easy, as we now know if a session is clear or e2e encrypted, and which plugin handle it.
author Goffi <goffi@goffi.org>
date Sun, 29 Jul 2018 19:22:56 +0200
parents 973d4551ffae
children b8600f8130ac
comparison
equal deleted inserted replaced
2645:f2cf1daa42cb 2646:712cb4ff3e13
407 doc_param_2=subject: Subject of the message 407 doc_param_2=subject: Subject of the message
408 key is the language of the subject, use '' when unknown 408 key is the language of the subject, use '' when unknown
409 doc_param_3=mess_type: Type of the message (cf RFC 6121 §5.2.2) or "auto" for automatic type detection 409 doc_param_3=mess_type: Type of the message (cf RFC 6121 §5.2.2) or "auto" for automatic type detection
410 doc_param_4=extra: optional data that can be used by a plugin to build more specific messages 410 doc_param_4=extra: optional data that can be used by a plugin to build more specific messages
411 doc_param_5=%(doc_profile_key)s 411 doc_param_5=%(doc_profile_key)s
412
413 [messageEncryptionStart]
414 type=method
415 category=core
416 sig_in=sss
417 sig_out=
418 param_1_default=''
419 param_2_default="@NONE@"
420 doc=Start an encryption session
421 doc_param_0=to_jid: JID of the recipient (bare_jid if it must be encoded for all devices)
422 doc_param_1=encryption_ns: Namespace of the encryption algorithm to use
423 doc_param_2=%(doc_profile_key)s
412 424
413 [setPresence] 425 [setPresence]
414 type=method 426 type=method
415 category=core 427 category=core
416 sig_in=ssa{ss}s 428 sig_in=ssa{ss}s