Class MailSigningResult
java.lang.Object
de.xima.fc.mail.impl.MailSigningResult
- All Implemented Interfaces:
IMailSigningResult
Implementation of
IMailSigningResult.- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionstatic MailSigningResultIf signing failed due to an exception, this method returns the exception that caused the failure.javax.mail.AddressGets the sender address used for signing the email.booleanIndicates whether the signing operation was successful.static MailSigningResultsuccess(javax.mail.Address sender)
-
Method Details
-
failure
-
success
-
getException
Description copied from interface:IMailSigningResultIf signing failed due to an exception, this method returns the exception that caused the failure. If signing was successful, this method returns null.- Specified by:
getExceptionin interfaceIMailSigningResult- Returns:
- The exception if signing failed, or null if it was successful.
- See Also:
-
getSender
public javax.mail.Address getSender()Description copied from interface:IMailSigningResultGets the sender address used for signing the email.- Specified by:
getSenderin interfaceIMailSigningResult- Returns:
- The sender address.
-
isSuccess
public boolean isSuccess()Description copied from interface:IMailSigningResultIndicates whether the signing operation was successful.- Specified by:
isSuccessin interfaceIMailSigningResult- Returns:
- true if signing was successful, false otherwise.
-