Package de.xima.fc.mail.interfaces
Interface IMailEncryptor
-
public interface IMailEncryptor
Interface for mail-encryptors- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 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
- theIBaseMailData
of the mailbodyPart
- theMimeBodyPart
to encryptclient
- The currentMandant
for which the mail is sent.- Returns:
- The encrypted
MimeBodyPart
- Throws:
Exception
- on errors during encryption
-
-