Package de.xima.fc.interfaces.mail
Interface IMailSecurityConfig
-
- All Known Implementing Classes:
MailSecurityConfig
public interface IMailSecurityConfigConfiguration for mail security (encryption and signing) when sending an email.- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull EMailSecurityTypegetSecurityType()booleanisEncrypt()booleanisSendUnencryptedIfEncryptionFails()Whether to send the mail unencrypted if encryption fails or unsigned if signing fails.booleanisSendUnsignedIfSigningFails()Whether to send the mail unsigned if signing fails.booleanisSign()
-
-
-
Method Detail
-
getSecurityType
@NotNull @NotNull EMailSecurityType getSecurityType()
- Returns:
- The security template to use for this mail.
-
isEncrypt
boolean isEncrypt()
- Returns:
- Whether to encrypt the mail.
-
isSendUnencryptedIfEncryptionFails
boolean isSendUnencryptedIfEncryptionFails()
Whether to send the mail unencrypted if encryption fails or unsigned if signing fails. This is only relevant ifencryptionis enabled.- Returns:
- Whether to send the mail unencrypted if
encryptionfails. - See Also:
isEncrypt()
-
isSendUnsignedIfSigningFails
boolean isSendUnsignedIfSigningFails()
Whether to send the mail unsigned if signing fails. This is only relevant ifsigningis enabled.
-
isSign
boolean isSign()
- Returns:
- Whether to sign the mail.
-
-