Class RecipientEncryptionResult
java.lang.Object
de.xima.fc.mail.impl.RecipientEncryptionResult
- All Implemented Interfaces:
IRecipientEncryptionResult, Serializable
Implementation of
IRecipientEncryptionResult.- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecipientEncryptionResultIf encryption failed due to an exception, this method returns the exception that caused the failure.javax.mail.AddressThe recipient for whom this encryption result applies.booleanIndicates whether the encryption was successful for this recipient.static RecipientEncryptionResultsuccess(javax.mail.Address recipient)
-
Method Details
-
failure
-
success
-
getException
Description copied from interface:IRecipientEncryptionResultIf encryption failed due to an exception, this method returns the exception that caused the failure. If encryption was successful, this method returns null.- Specified by:
getExceptionin interfaceIRecipientEncryptionResult- Returns:
- The exception if encryption failed, or null if it was successful.
- See Also:
-
getRecipient
public javax.mail.Address getRecipient()Description copied from interface:IRecipientEncryptionResultThe recipient for whom this encryption result applies.- Specified by:
getRecipientin interfaceIRecipientEncryptionResult- Returns:
- The recipient address.
-
isSuccess
public boolean isSuccess()Description copied from interface:IRecipientEncryptionResultIndicates whether the encryption was successful for this recipient.- Specified by:
isSuccessin interfaceIRecipientEncryptionResult- Returns:
- true if encryption was successful, false otherwise.
-