Interface IMailEncryptor


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

    Modifier and Type
    Method
    Description
    javax.mail.internet.MimeBodyPart
    encrpytMessageBody(IBaseMailData mailData, javax.mail.internet.MimeBodyPart bodyPart, Mandant client)
    Method to encrypt the main body-part of an mail
  • Method Details

    • 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