Class MailSecurityConfig
java.lang.Object
de.xima.fc.mdl.mail.MailSecurityConfig
- All Implemented Interfaces:
IMailSecurityConfig
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MailSecurityConfig.Builderbuilder()static MailSecurityConfig.Builderbuilder(EMailSecurityTemplate securityTemplate) booleaninthashCode()booleanbooleanWhether to send the mail unencrypted if encryption fails or unsigned if signing fails.booleanWhether to send the mail unsigned if signing fails.booleanisSign()static IMailSecurityConfignone()toString()
-
Method Details
-
builder
-
builder
-
none
-
toBuilder
-
getSecurityType
- Specified by:
getSecurityTypein interfaceIMailSecurityConfig- Returns:
- The security template to use for this mail.
-
isEncrypt
public boolean isEncrypt()- Specified by:
isEncryptin interfaceIMailSecurityConfig- Returns:
- Whether to encrypt the mail.
-
isSign
public boolean isSign()- Specified by:
isSignin interfaceIMailSecurityConfig- Returns:
- Whether to sign the mail.
-
isSendUnencryptedIfEncryptionFails
public boolean isSendUnencryptedIfEncryptionFails()Description copied from interface:IMailSecurityConfigWhether to send the mail unencrypted if encryption fails or unsigned if signing fails. This is only relevant ifencryptionis enabled.- Specified by:
isSendUnencryptedIfEncryptionFailsin interfaceIMailSecurityConfig- Returns:
- Whether to send the mail unencrypted if
encryptionfails. - See Also:
-
isSendUnsignedIfSigningFails
public boolean isSendUnsignedIfSigningFails()Description copied from interface:IMailSecurityConfigWhether to send the mail unsigned if signing fails. This is only relevant ifsigningis enabled.- Specified by:
isSendUnsignedIfSigningFailsin interfaceIMailSecurityConfig- Returns:
- Whether to send the mail unsigned if
signingfails. - See Also:
-
equals
-
hashCode
-
toString
-