class
XMPP::Stanza::ExplicitMessageEncryption
- XMPP::Stanza::ExplicitMessageEncryption
- XMPP::Stanza::MsgExtension
- XMPP::Stanza::Extension
- Reference
- Object
Overview
XEP-0380 Explicit Message Encryption. https://xmpp.org/extensions/xep-0380.html
A small marker that tells receiving clients what kind of encrypted payload is inside the stanza, without having to peek at the actual encryption extension. Without it, Conversations and other clients can fail to surface an encrypted message at all (no notification, no chat bubble) when they cannot decrypt the payload, they don't even know there is anything to display.
well-known namespaces (from the XEP registry): urn:xmpp:omemo:2 OMEMO 2 eu.siacs.conversations.axolotl OMEMO legacy urn:xmpp:openpgp:0 OpenPGP for XMPP (OX) jabber:x:encrypted legacy OpenPGP (XEP-0027)
Defined in:
xmpp/stanza/message/eme.crConstant Summary
-
OMEMO_LEGACY_NS =
"eu.siacs.conversations.axolotl" -
OMEMO_V2_NS =
"urn:xmpp:omemo:2"
Constructors
Class Method Summary
Instance Method Summary
- #name : String
- #name_attr : String
- #name_attr=(name_attr : String)
- #namespace : String
- #namespace=(namespace : String)
- #to_xml(xml : XML::Builder)
Instance methods inherited from module XMPP::Stanza::Packet
name : String
name,
to_xml(xml : XML::Builder)to_xml : String to_xml