Enum EMailSecurityType

java.lang.Object
java.lang.Enum<EMailSecurityType>
de.xima.fc.mdl.enums.EMailSecurityType
All Implemented Interfaces:
INamedUiElement, Serializable, Comparable<EMailSecurityType>

public enum EMailSecurityType extends Enum<EMailSecurityType> implements INamedUiElement
Specifies the available types of email security for message transmission.

This enum is used to indicate the security protocol applied to email messages. Supported types include no security, S/MIME encryption/signing, and (deprecated) PGP.

  • NONE - No email security is applied.
  • SMIME - S/MIME is used for email encryption and signing.
  • PGP - PGP is used for email encryption and signing.
Author:
XIMA MEDIA GmbH
  • Enum Constant Details

    • NONE

      public static final EMailSecurityType NONE
      No email security is applied. Emails are sent without encryption or signing.
    • SMIME

      public static final EMailSecurityType SMIME
      S/MIME is used for email encryption and signing.
    • PGP

      @Deprecated public static final EMailSecurityType PGP
      Deprecated.
      PGP is used for email encryption and signing.

      Deprecated: PGP support is no longer maintained and should not be used.

  • Method Details

    • values

      public static EMailSecurityType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EMailSecurityType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription(Locale locale)
    • getDisplayName

      public String getDisplayName(Locale locale)
      Description copied from interface: INamedUiElement
      The display name of this element in the given locale.
      Specified by:
      getDisplayName in interface INamedUiElement
      Parameters:
      locale - The locale to get the display name for.
      Returns:
      The display name of this element in the given locale.