Interface CryptElementReceivedListener

    • Method Detail

      • cryptElementReceived

        void cryptElementReceived​(OpenPgpContact contact,
                                  Message originalMessage,
                                  CryptElement cryptElement,
                                  org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
        A CryptElement has been received and successfully decrypted. This listener is intended to be used by implementors of different OX usage profiles.
        Parameters:
        contact - sender of the message
        originalMessage - original message which contains the CryptElement.
        cryptElement - the CryptElement itself.
        metadata - metadata about the encryption