Interface IMailEncryptor


  • public interface IMailEncryptor
    Interface for mail-encryptors
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • encrpytMessageBody

        javax.mail.internet.MimeBodyPart encrpytMessageBody​(IBaseMailData mailData,
                                                            javax.mail.internet.MimeBodyPart bodyPart,
                                                            Mandant client)
                                                     throws Exception
        Method to encrypt the main body-part of an mail
        Parameters:
        mailData - the IBaseMailData of the mail
        bodyPart - the MimeBodyPart to encrypt
        client - The current Mandant for which the mail is sent.
        Returns:
        The encrypted MimeBodyPart
        Throws:
        Exception - on errors during encryption