Interface SigncryptElementReceivedListener

    • Method Detail

      • signcryptElementReceived

        void signcryptElementReceived​(OpenPgpContact contact,
                                      Message originalMessage,
                                      SigncryptElement signcryptElement,
                                      org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
        A SigncryptElement has been received and successfully decrypted and verified. This listener is intended to be used by implementors of different OX usage profiles. In order to listen for OX-IM messages, please refer to the OxMessageListener instead.
        Parameters:
        contact - sender of the message
        originalMessage - original message containing the SigncryptElement
        signcryptElement - the SigncryptElement itself
        metadata - metadata about the encryption and signing