Package de.xima.fc.mail.impl
Class MailEncryptionResult
- java.lang.Object
-
- de.xima.fc.mail.impl.MailEncryptionResult
-
- All Implemented Interfaces:
IMailEncryptionResult
public class MailEncryptionResult extends Object implements IMailEncryptionResult
Implementation ofIMailEncryptionResult.- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.mail.internet.MimeBodyPartgetBody()The encrypted MimeBodyPart.Collection<IRecipientEncryptionResult>getRecipientResults()The encryption results for each recipient.static MailEncryptionResultof(javax.mail.internet.MimeBodyPart body, Collection<IRecipientEncryptionResult> recipientResults)
-
-
-
Method Detail
-
of
public static MailEncryptionResult of(javax.mail.internet.MimeBodyPart body, Collection<IRecipientEncryptionResult> recipientResults)
-
getBody
public javax.mail.internet.MimeBodyPart getBody()
Description copied from interface:IMailEncryptionResultThe 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.- Specified by:
getBodyin interfaceIMailEncryptionResult- Returns:
- The encrypted MimeBodyPart.
-
getRecipientResults
public Collection<IRecipientEncryptionResult> getRecipientResults()
Description copied from interface:IMailEncryptionResultThe encryption results for each recipient. The result indicates whether encryption wassuccessfulfor that recipient.- Specified by:
getRecipientResultsin interfaceIMailEncryptionResult- Returns:
- A collection of recipient encryption results.
-
-