Package de.xima.fc.mail.interfaces
Interface IMailEncryptionResult
-
- All Known Implementing Classes:
MailEncryptionResult
public interface IMailEncryptionResultThe result of an email encryption operation, including theencrypted messageand the results for each recipient. If encryption fails for a recipient, thecorresponding resultwill indicate the failure.- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull javax.mail.internet.MimeBodyPartgetBody()The encrypted MimeBodyPart.@NotNull Collection<IRecipientEncryptionResult>getRecipientResults()The encryption results for each recipient.
-
-
-
Method Detail
-
getBody
@NotNull @NotNull javax.mail.internet.MimeBodyPart getBody()
The encrypted MimeBodyPart. This part contains the encrypted content of the email. It may not be encrypted for all recipients if some recipients' encryption failed, which will be indicated in therecipient results.- Returns:
- The encrypted MimeBodyPart.
-
getRecipientResults
@NotNull @NotNull Collection<IRecipientEncryptionResult> getRecipientResults()
The encryption results for each recipient. The result indicates whether encryption wassuccessfulfor that recipient.- Returns:
- A collection of recipient encryption results.
-
-