Interface OxMessageListener


  • public interface OxMessageListener
    • Method Detail

      • newIncomingOxMessage

        void newIncomingOxMessage​(OpenPgpContact contact,
                                  org.jivesoftware.smack.packet.Message originalMessage,
                                  SigncryptElement decryptedPayload,
                                  org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
        This method gets invoked, whenever an OX-IM encrypted message gets received.
        Parameters:
        contact - OpenPgpContact which sent the message.
        originalMessage - the received message that is carrying the encrypted OpenPgpElement.
        decryptedPayload - decrypted SigncryptElement which is carrying the payload.
        metadata - metadata about the encryption and signing
        See Also:
        XEP-0374: OpenPGP for XMPP: Instant Messaging (OX-IM)